<AWT Dev> [9] Review request for 8169133: This time, on Windows: java/awt/Robot/SpuriousMouseEvents/SpuriousMouseEvents.java

Semyon Sadetsky semyon.sadetsky at oracle.com
Thu Nov 24 17:36:03 UTC 2016


On 24.11.2016 20:29, Sergey Bylokhov wrote:

> On 24.11.16 20:20, Semyon Sadetsky wrote:
>> Creates a Robot for the given screen device. Coordinates passed to Robot
>> method calls like mouseMove and createScreenCapture will be interpreted
>> as being in the same coordinate system as the specified screen.
> This is what I am talking about:
> "Coordinates passed to Robot method calls like mouseMove and 
> createScreenCapture will be interpreted as being in the same 
> coordinate system as the specified screen". Since both screens shares 
> the same space there is should not be important on what screen the 
> robot was created.
The rest lines of the spec may be discarded?

 >  * use different coordinate systems to act as independent screens
 > This constructor is meant for the latter case.

All robots may be used to address any area of the desktop regardless of 
the screen constructor argument.
The coordinate system is the only aspect the screen argument affects.


More information about the awt-dev mailing list