Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

When is popupMenuCanceled fired?

Rich Smyth
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My PopupMenuListener is not working as I expected. The code I placed
in popupMenuCanceled() is not called when I use the escape key to close
the popup nor is it called when I click outside the popup to close it.
When does this method get called? The documentation states that the
method is called when the menu is 'cancelled' (without explaining what
cancelled means).

I'm using 1.5 on XP.

Thanks for any clues

Paper has not yet been outlawed – so let your Java Swing application print with wild abandon: JPDF
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic