RFR: 8327750: Convert javax/swing/JFileChooser/FileFilterDescription/FileFilterDescription.java applet test to main [v2]

Alexey Ivanov aivanov at openjdk.org
Tue Mar 12 11:36:17 UTC 2024


On Tue, 12 Mar 2024 10:37:04 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> test/jdk/javax/swing/JFileChooser/FileFilterDescription/FileFilterDescription.java line 54:
>> 
>>> 52:                 .rows(10)
>>> 53:                 .columns(35)
>>> 54:                 .build();
>> 
>> Suggestion:
>> 
>>                 .position(PassFailJFrame.Position.TOP_LEFT_CORNER)
>>                 .build();
>> 
>> To move the instruction frame into its final position right away since `build()` shows the instruction UI. Later the instruction frame is moved when you use `PassFailJFrame.positionTestWindow`.
>
> ok. updated..but it doesn't seem to make any difference..

It does. Now the instruction frame is always in the top left corner.

Before this update, it showed in the centre of the screen and in a short while moved to the top left corner.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18182#discussion_r1521306491


More information about the client-libs-dev mailing list