GUI builder - mnemonic for JTextField


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?


Please sign in to leave a comment.