RFR: 8279614: The left line of the TitledBorder is not painted on 150 scale factor [v17]

Phil Race prr at openjdk.java.net
Fri May 20 17:42:46 UTC 2022


On Fri, 20 May 2022 16:55:43 GMT, Alisen Chung <achung at openjdk.org> wrote:

>> Changed the drawing area to be increased by 0.5 on the left side to prevent clipping
>
> Alisen Chung has updated the pull request incrementally with one additional commit since the last revision:
> 
>   reverted copyright year

test/jdk/java/awt/EtchedBorder/ScaledEtchedBorderTest.java line 77:

> 75:         }
> 76: 
> 77:         frame.dispose();

the dispose needs to be inside invokeAndWait too .. oh there's more than that
you are creating a frame in each call to createGUI() and yet only ever dispose the last frame.
so that call to dispose needs to be an invokeAndWait inside the loop

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

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



More information about the client-libs-dev mailing list