File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes mnemonic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "mnemonic" Watch "mnemonic" New topic


tim johnson

Joined: Jul 25, 2001
Posts: 14
Is there a way to set mnemonic to the title of a titled border?
Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

Nope... only things that inherit from AbstractButton (i.e. JButton, JCheckBox, JMenuItem, and their ilk ) can have mnemotics... It also doesn't really make sense because there is no action to perform on the JPanel anyway.


Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link:
subject: mnemonic
It's not a secret anymore!