aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes REG: Focus Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "REG: Focus" Watch "REG: Focus" New topic
Author

REG: Focus

adeeb alexander
Ranch Hand

Joined: May 29, 2008
Posts: 268
hi,
i want to navigate or change focus from one button to other using the direction keys. How can i do this can anybody please help.
Thanks and regards
In Advance
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19720
    
  20

Try using KeyListeners, and if that does not work key bindings.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61433
    
  67

Please use real words when posting to the forums. Abbreviations such as "REG" in place of whatever it is supposed to mean only serve to make your posts more difficult to read and less likely to generate useful responses.

Please read this for more information.

thanks,
bear
JavaRanch sheriff


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
jQuery in Action, 2nd edition
 
subject: REG: Focus