File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "setDisplayedMnemonic corrupts JTextField??" Watch "setDisplayedMnemonic corrupts JTextField??" New topic

setDisplayedMnemonic corrupts JTextField??

john cummings

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
I agree. Here's the link:
subject: setDisplayedMnemonic corrupts JTextField??
It's not a secret anymore!