• Post Reply Bookmark Topic Watch Topic
  • New Topic

Tab press

 
Rahul Mahindrakar
Ranch Hand
Posts: 1869
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ,
I am looking for a small program which can tell me when the tab key has been pressed.
checked out VK_TAB but things did not work
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Tutorial How to Write a Key Listener has code which should get you on your way. Also there is a note about a bug in jdk1.2 associated with text fields and the keytyped event so, this may be the cause of your problem.
Hope this helps
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!