<Swing Dev> RFR: 8160720: [TEST_BUG] javax/swing/SwingUtilities/TestBadBreak/TestBadBreak.java
Prasanta Sadhukhan
psadhukhan at openjdk.java.net
Thu Feb 11 04:47:44 UTC 2021
On Wed, 10 Feb 2021 21:49:40 GMT, Sergey Bylokhov <serb at 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
More information about the swing-dev
mailing list