RFR: 8316388: Opensource five Swing component related regression tests [v2]

Alexander Zuev kizune at openjdk.org
Tue Mar 12 22:20:14 UTC 2024


On Tue, 12 Mar 2024 20:11:02 GMT, Phil Race <prr at openjdk.org> wrote:

>> test/jdk/javax/swing/JEditorPane/4325606/bug4325606.java line 83:
>> 
>>> 81:             robo.setAutoDelay(100);
>>> 82:             robo.delay(1000);
>>> 83:             robo.mouseMove(100,100);
>> 
>> Suggestion:
>> 
>>             robo.mouseMove(100, 100);
>
> Whilst it is fine to use setLocation(int, int), I do agree that assuming it will be precisely honoured is risky.

Ok, i will ise the actual location of the frame instead.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18184#discussion_r1522183171


More information about the client-libs-dev mailing list