This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
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 Customer Requirements for Developers this week in the Jobs Discussion forum!
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.
subject: JMenu Focus
It's not a secret anymore!