RFR: 8295804: javax/swing/JFileChooser/JFileChooserSetLocationTest.java failed with "setLocation() is not working properly" [v3]

Tejesh R tr at openjdk.org
Tue Jan 16 05:58:47 UTC 2024


On Sat, 13 Jan 2024 05:06:10 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Tejesh R has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Review fix
>
> test/jdk/javax/swing/JFileChooser/JFileChooserSetLocationTest.java line 216:
> 
>> 214: 
>> 215:         int width = (int) screenSize.getWidth() / 2;
>> 216:         int height = (int) screenSize.getHeight() / 2;
> 
> This is not the width and height, this is the kind of point(x,y) where the frame will be located.

Yeah, I got it now. Updated.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17364#discussion_r1452956890


More information about the client-libs-dev mailing list