How do I find out which mouse button is pressed for a MouseEvent?
For AWT programs, you need to compare the modifiers of the event to the button masks of the INPUT_EVENT.
The meaning of left, middle, and right assumes a right-handed mouse.
Also, keep in mind that not all users have three-button mice. While there are keyboard alternatives for the addition buttons, consider the awkwardness for users before adding the functionality.