InputEvent « java.awt.event « Java by API






1.InputEvent.BUTTON1_MASK (mouse left button)
2.InputEvent.BUTTON2_MASK (mouse middle button)
3.InputEvent.BUTTON3_MASK (mouse right button)
4.InputEvent.CTRL_MASK
5.InputEvent: getModifiersExText(int modifiers)