File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes How to set hotkey for jcombobox? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to set hotkey for jcombobox?" Watch "How to set hotkey for jcombobox?" New topic
Author

How to set hotkey for jcombobox?

Amrit Tiwana
Greenhorn

Joined: Jun 03, 2004
Posts: 24
Hi all,

Is it possible to set hotkey for selecting(setting focus on) Jcombobox?

like for menu, we have setMnemonic and for textfield we have setFocusAccelerator

Thanks
Amrit
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
Perhaps a workaround, if you can add a label

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to set hotkey for jcombobox?
 
Similar Threads
JComboBox setEditor()
Show a PopupMenu using a hotkey
Why we dont have JComboBox(ArrayList items)
JComboBox inside JTreeTable
Is it possible to attach KeyListener with JComboBox?