Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

how to find right click / left click of a mouse?

843807Sep 19 2002 — edited Sep 20 2002
consider the following code

help me out in this doubt.

class abc implements MouseListener
{
.
.
.
public void mouseClicked(MouseEvent me)
{
// here i have to find whether the user has pressed right / left click of the mouse? how to do that?
}
}


Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 18 2002
Added on Sep 19 2002
5 comments
197 views