EVALUATION
As the submitter discovered, InputEvent.BUTTON2_MASK has the same value as
InputEvent.ALT_MASK and InputEvent.BUTTON3_MASK has the same value as
InputEvent.META_MASK.
Note: a similar problem may exist for MouseEvent.getMouseModifiersText(int).
Perhaps the docs for KeyEvent, MouseEvent, and InputEvent should mention this.
Also, KeyEvent.getKeyModifiersText and MouseEvent.getMouseModifiersText(int)
should probably reference InputEvent.getModifiersExText(int), which does not
have this ambiguity.
###@###.### 2002-08-28
Changes reviewed by Eric. Approved by CCC. Fixed for tiger.
###@###.### 2003-08-29
|