Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JPopupMenu

 
Jeff Storey
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic