-
Bug
-
Resolution: Fixed
-
P2
-
1.3.0
-
rc3
-
x86
-
windows_nt
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2032935 | 1.4.0 | Brent Christian | P2 | Closed | Fixed | beta |
In Win32 Platforms
mousePress(),mouseRelease() methods of java.awt.Robot are not working properly for Right mouse button on Win32 platforms.
1. mousePress(BUTTON3_MASK) triggers mouseReleased and
MouseClicked and not MousePressed.
2. mouseRelease(BUTTON3_MASK) triggers mouseReleased and
mouseClicked when mouse is not pressed at all.
This holds good for all the components.
This is not occuring in solaris.
How to reproduce the Bug? -------->
Run this sample code. You would see a frame with a TextArea.
Wait for sometime. Robot will move the mouse to the center of the component and
will click the right mouse button. Look into the command prompt for messages.
If you dont find any message which denotes triggering of MousePressed , then
bug is reproduced.
NOTE: This bug occurs only in Windows and not in solaris.
Message "ROBOT STOPPED" indicates termination of robot and you can try clicking
the mouse buttons manually after that.
sunitha.elango@eng 2000-04-14
mousePress(),mouseRelease() methods of java.awt.Robot are not working properly for Right mouse button on Win32 platforms.
1. mousePress(BUTTON3_MASK) triggers mouseReleased and
MouseClicked and not MousePressed.
2. mouseRelease(BUTTON3_MASK) triggers mouseReleased and
mouseClicked when mouse is not pressed at all.
This holds good for all the components.
This is not occuring in solaris.
How to reproduce the Bug? -------->
Run this sample code. You would see a frame with a TextArea.
Wait for sometime. Robot will move the mouse to the center of the component and
will click the right mouse button. Look into the command prompt for messages.
If you dont find any message which denotes triggering of MousePressed , then
bug is reproduced.
NOTE: This bug occurs only in Windows and not in solaris.
Message "ROBOT STOPPED" indicates termination of robot and you can try clicking
the mouse buttons manually after that.
sunitha.elango@eng 2000-04-14
- backported by
-
JDK-2032935 mousePress(),mouseRelease() of java.awt.Robot are not working properly
- Closed