RFR: 8233068: HIDPI: Linux: AWT Checkbox check mark is unscaled [v3]
Abhishek Kumar
abhiscxk at openjdk.org
Tue Aug 6 12:59:39 UTC 2024
On Tue, 6 Aug 2024 11:01:26 GMT, Tejesh R <tr at openjdk.org> wrote:
>> test/jdk/java/awt/Checkbox/CheckboxCheckerScalingTest.java line 53:
>>
>>> 51: Robot robot = new Robot();
>>> 52: try {
>>> 53: SwingUtilities.invokeAndWait(() -> {
>>
>> I think `EventQueue.invokeAndWait()` should be used instead of `SwingUtilities.invokeAndWait()` for AWT test.
>
> Why?
I remember it was advised to use "EventQueue.invokeAndWait() for AWT tests and SwingUtilities.invokeAndWait for swing tests and we should avoid calling swing class from awt.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20441#discussion_r1705490446
More information about the client-libs-dev
mailing list