• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Handle shift+Tab key event

 
ramesh kancherla
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
This is Ramesh. I am handling key events in JTable using keyListener
I know keycode value of shift is 16, and tab is 09.
i can handling individually pressed TAB key and shift key but I am unable to handling when pressed both shift and tab keys at time (shift+Tab).

how can i handle this functionality(shift+Tab)

can any one please give me suggestion.

Thanks & Regards
Ramesh K
 
Maneesh Godbole
Saloon Keeper
Posts: 11066
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by ramesh kancherla:

how can i handle this functionality(shift+Tab)


KeyEvent#isShiftDown()
 
ramesh kancherla
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
I am not getting this shift+tab key event

can any one please give sample code or procedure for find shift+tab

Thanks & Regards
Ramesh K
 
Maneesh Godbole
Saloon Keeper
Posts: 11066
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by ramesh kancherla:

can any one please give sample code or procedure for find shift+tab


Better yet, why dont you post your existing code so we can try and figure out whats going wrong? Dont forget to use the CODE tags
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic