File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JMenu Focus" Watch "JMenu Focus" New topic

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?


-------------------------------<br />you can't move ahead, unless you try for it.
I agree. Here's the link:
subject: JMenu Focus
It's not a secret anymore!