Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Swing / AWT / SWT and the fly likes Mneumonic for editable JComboBox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Mneumonic for editable JComboBox" Watch "Mneumonic for editable JComboBox" New topic

Mneumonic for editable JComboBox

Abhijeet Roy

Joined: Jul 30, 2003
Posts: 3
Hello All
Can anyone please tell me if the mneumonic for an editable JComboBox works in Windows? It seems to work in Unix, but not in windows.
I have a label and a combobox and the label is associated with the combobox. If the combobox is made editable, the shortcut key does not seem to work. Here is part of the code...
JLabel jLabel = new JLabel("Label for combo");
JComboBox oComboBox = new JComboBox();
With this code, Alt+L should bring the focus to the combo box, but it doesnt seem to work in Windows.
I agree. Here's the link:
subject: Mneumonic for editable JComboBox
Similar Threads
JCOMBO Box traversal problem
table row height
Combo box focus problem
Editable JComboBox as cell editor in JTable