how to operate right click event on applet
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   shaleen_tonk
Posted On:   Wednesday, April 18, 2001 06:59 AM

sir
i want to use right click event on a button. i serch it on too many books but i can't able to find it can it will be possible in java if not then why

shaleen

Re: how to operate right click event on applet

Posted By:   Dewang_Shah  
Posted On:   Monday, April 30, 2001 04:15 AM

Hi,
It is possible. You just need to add a MouseListener. The MouseEvent provides masks that identify the button that was clicked - Left, Middle or Right.
So you just need to make that check in your Listener.
Consult the docs for more details.

HTH
About | Sitemap | Contact