-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
6
-
None
-
generic
-
generic
Javadoc for MouseEvent doesn't say which button (#2 or #3) is right mouse button. SwingUtilities assume that #3. Native code on Windows maps RBUTTON to BUTTON3, but SynthesizeMouseMessage maps BUTTON3 to MBUTTON. X11 code uses Xlib constants - Button3 is mapped to BUTTON3, but right button may be Button2 if there is no middle button.
The code should be rewritten to consistently return BUTTON3 for right button, and also the Javadoc for getButton, BUTTON3/BUTTON2 should specify how these buttons are related to native equivalents
###@###.### 2005-1-18 10:56:29 GMT
The code should be rewritten to consistently return BUTTON3 for right button, and also the Javadoc for getButton, BUTTON3/BUTTON2 should specify how these buttons are related to native equivalents
###@###.### 2005-1-18 10:56:29 GMT
- relates to
-
JDK-4921085 MouseEvent mapping of BUTTON1, BUTTON2 etc. to mouse buttons is unclear
-
- Open
-