On Wed, 20 Mar 2024 23:13:53 GMT, Phil Race <p...@openjdk.org> wrote:
>> Tejesh R has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Review updates > > test/jdk/javax/swing/border/Test4129681.java line 55: > >> 53: >> 54: >> UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel"); >> 55: System.setProperty("sun.java2d.uiScale", "1.0"); > > If you are going to do this in code it needs to be line 1 of main before we > call any java.desktop code. > > You can also pass it on the command line of the test > @run main -Dsun.java2d.uiScale=1 Test4129681 Updated. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/18336#discussion_r1533256688