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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "setDisplayedMnemonic corrupts JTextField??" Watch "setDisplayedMnemonic corrupts JTextField??" New topic
Author

setDisplayedMnemonic corrupts JTextField??

john cummings
Greenhorn

Joined: Oct 26, 2001
Posts: 3
Using Windows ME.
When a JTextField has focus and I use alt *(anything) to switch to another component the mnemonic character is typed into the field that has the focus. yuk! How can I avoid this? (Creating a JDialog for SCJD exam and trying to stick with recommened Look and Feel conventions).
Thanks, jc
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: setDisplayedMnemonic corrupts JTextField??