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 mnemonics are not getting focus for the menubar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "mnemonics are not getting focus for the menubar" Watch "mnemonics are not getting focus for the menubar" New topic
Author

mnemonics are not getting focus for the menubar

Venkateshwarlu Narsing
Greenhorn

Joined: Jul 22, 2008
Posts: 2
problem: mnemonics are not getting focus for the menubar

scenario: I have one JFrame and one JInternalFrame. The JFrame has a menubar with mnemonics assigned to every menu. Mnemonics are working fine when the JInternalFrame is opend. But after closing the JInternalFrame the mnemonics for the menubar are not working. That is menus are not getting focus when I use mnemonics like ALT+F

Any help heighly appriciated
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
Seems to work in j2se 1.6.0_07
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: mnemonics are not getting focus for the menubar
 
Similar Threads
KeyListener Stops Working
Implementing listeners to menu events
using mnemonics in Java Applet
Focus problem
JInternalFrame to get Focus