A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
IDEs, Version Control and other tools
IDEA GUI builder - mnemonic for JTextField
Joined: Jul 17, 2004
Mar 27, 2005 06:05:00
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?
Kai Witte's business website
Kai Witte's private homepage
subject: IDEA GUI builder - mnemonic for JTextField
Swing event handling for a JButton?
Set mnemonic key
communicating/affecting another class
labels on swing components
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014