aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes IDEA GUI builder - mnemonic for JTextField Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "IDEA GUI builder - mnemonic for JTextField" Watch "IDEA GUI builder - mnemonic for JTextField" New topic
Author

IDEA GUI builder - mnemonic for JTextField

Kai Witte
Ranch Hand

Joined: Jul 17, 2004
Posts: 356
hello,

I use Idea 4.5 @Win2k with the GUI designer.

I have a JPanel with a titled border. The title is being read from a resource bundle. Inside the JPanel there is a JTextField.

I want to associate a mnemonic to the JTextField. The mnemonic shall be displayed in the border title.

I tried to put an "&" in front of the corresponding letter in the resource file (.properties). That only displayed the word with the "&" literally.

How can I do what I want?

Conan


Kai Witte's business website Kai Witte's private homepage
 
jQuery in Action, 2nd edition
 
subject: IDEA GUI builder - mnemonic for JTextField