This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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 Head First Android this week in the Android 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??
 
It's not a secret anymore!