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 Murach's Java Servlets and JSP this week in the Servlets 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 inside JTreeTable
Show a PopupMenu using a hotkey
Is it possible to attach KeyListener with JComboBox?
Why we dont have JComboBox(ArrayList items)
JComboBox setEditor()