• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JpopupMenu action listener not triggered

 
Nate Lockwood
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the code below that I want to be triggered when the popup menu disappears but it is not triggered.



What is the correct action listener to detect the menu disappearing or not being shown or being hidden or ...?
 
Tony Docherty
Bartender
Posts: 2971
59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can add a PopupMenuListener which will be notified when the popupMenu will become invisible.
 
Nate Lockwood
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Many thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic