<Swing Dev> RFR: 8160720: [TEST_BUG] javax/swing/SwingUtilities/TestBadBreak/TestBadBreak.java
Sergey Bylokhov
serb at openjdk.java.net
Thu Feb 11 19:51:41 UTC 2021
On Thu, 11 Feb 2021 04:44:56 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> 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.
That test uses a robot, and it may fail if the windows appeared under dock/etc.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2502
More information about the swing-dev
mailing list