Right MouseClick
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Saturday, January 12, 2002 01:22 AM

How to capture Right mouse click event in a jtextarea?

Re: Right MouseClick

Posted By:   laurent_girault  
Posted On:   Friday, February 1, 2002 09:45 AM

add a Mouse Listener to your textArea

e.g textArea.addMouseListener(this);


the listener(this) will receive a MouseEvent
when you click


call SwingUtilities.isRightMouseButton(event)
to check if you have a
right
About | Sitemap | Contact