It's not a secret anymore!
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


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?

I agree. Here's the link:
subject: JPopupMenu
It's not a secret anymore!