<Swing Dev> RFR: 8160720: [TEST_BUG] javax/swing/SwingUtilities/TestBadBreak/TestBadBreak.java
Sergey Bylokhov
serb at openjdk.java.net
Wed Feb 10 21:52:41 UTC 2021
On Wed, 10 Feb 2021 21:31:21 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
>> It uses hardcoded 200,90 for frame.setBounds.I guess it should be multiplied by scale factor for correct bounds to be used.
>
> 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.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2502
More information about the swing-dev
mailing list