Forum Stats

  • 3,839,004 Users
  • 2,262,437 Discussions
  • 7,900,834 Comments

Discussions

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

843807
843807 Member Posts: 46,582
edited Sep 20, 2002 12:49PM in Java Applet Development
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

This discussion has been closed.