• Post Reply Bookmark Topic Watch Topic
  • New Topic

Capturing right-click from mouse in AWT

 
Scott Appleton
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone please nudge me in the right direction? I can't figure out how the BUTTON_MASK is supposed to work, and the isPopupTrigger() method in the MouseEvent object doesn't appear to register properly in my application.
My purpose is to devise a popup help system when a user right-clicks on a component in the GUI.
Thanks for your help.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that this got answered here:
http://www.javaranch.com/ubb/Forum33/HTML/002580.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!