This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
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

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
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