wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes 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 "JPopupMenu" Watch "JPopupMenu" New topic
Author

JPopupMenu

Jeff Storey
Ranch Hand

Joined: Oct 09, 2006
Posts: 118
I have extended the BasicMenuUI to create a popup menu when the user right-clicks on a menu item in a JMenu rather than firing the menu action. The problem is this that once I put the mouse over the popup menu, the underlying menu disappears. Is there a way to make sure the underlying JMenu stays visible until I move off the JMenu or select the JPopupMenu item?

Thanks.
Jeff
 
wood burning stoves
 
subject: JPopupMenu
 
Similar Threads
JPopupMenu or JMenu - neither is quite what I'm after.
Right-Click on JMenuItem
JMenu problem
Scrollable JPopupmenu
In what way can I avoid disapperaing the item of JPopupMenu?