aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes JComboBox & JPopupMenu Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JComboBox & JPopupMenu" Watch "JComboBox & JPopupMenu" New topic
Author

JComboBox & JPopupMenu

Eleni Fatourou
Greenhorn

Joined: Oct 03, 2002
Posts: 1
Hi,
I am trying desperately to find a way to do this:
When a user right-clicks on an item of a JComboBox drop down list, a popup menu to appear (i would like to show options like edit, delete etc for the items)
After extending a JComboBox i came up with an element that shows a popup BUT i can not find a way to prevent the drop down list of Combo from hiding. Can anyone please tell me how to do this?
Here is the code:
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

"elefat" -

Welcome to the JavaRanch! Please adjust your displayed name to meet the
JavaRanch Naming Policy.
You can change it here.

Thanks! and welcome to the JavaRanch!


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JComboBox & JPopupMenu