File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes JMenu Focus Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JMenu Focus" Watch "JMenu Focus" New topic
Author

JMenu Focus

Akhil Jain
Ranch Hand

Joined: Oct 14, 2004
Posts: 74
Hi Guys,

Can someone please tell me how to set focus on JMenu
i have a Jmenu Bar, in which i have some JMenu and they contain there respective JMenuItem.

I want to set the tab order basically to these Jmenus, so that, as for example, when user opens the File Menu and presees "Tab" on keyboard, he should be taken to the next Jmenu in row.

Can some one tell me how to do this?

regards
Akhil


-------------------------------<br />you can't move ahead, unless you try for it.
 
 
subject: JMenu Focus