File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JPopupMenu

 
Jeff Storey
Ranch Hand
Posts: 118
  • 0
  • 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic