Currently InputEvent has modifiers defined for the mouse buttons.
However, BUTTON2_MASK should be mapped to an identicle value as
ALT_MASK and BUTTON3_MASK should be mapped to an identicle modifere
as META_MASK to ensure that systems with 1 and 2 button mice will
work properly with programs coded to look for those button modifiers.
However, BUTTON2_MASK should be mapped to an identicle value as
ALT_MASK and BUTTON3_MASK should be mapped to an identicle modifere
as META_MASK to ensure that systems with 1 and 2 button mice will
work properly with programs coded to look for those button modifiers.
- duplicates
-
JDK-4031431 BUTTON?_MASK constants seem to be incorrect
- Closed
-
JDK-4032006 The mods field of MouseEvent is =0 when button 2 is clicked
- Closed
-
JDK-4027989 Mouse events do not say which button
- Closed