On Wed, 10 Feb 2021 21:49:40 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

>> Both coordinates robot/frame use the user's space and internally should be 
>> transformed to the device space. But that transformation should be the same, 
>> there are should not be differences in the final result for both.
>
> BTW the test itself draws the button to the BufferedImage so uiscale should 
> not affect that rendering, both subtests should work similarly.

I believe similar thing was done for 
https://github.com/openjdk/jdk/pull/950/files where the panel was drawn to 
bufferedimage but uiScale was set to 1 to make the test stable and robot was 
also used there to just delay but setUndecorated and setLocationRelativeTo() 
was used.

-------------

PR: https://git.openjdk.java.net/jdk/pull/2502

Reply via email to