Integrated: 8295804: javax/swing/JFileChooser/JFileChooserSetLocationTest.java failed with "setLocation() is not working properly"

Tejesh R tr at openjdk.org
Fri Jan 19 05:59:35 UTC 2024


On Thu, 11 Jan 2024 04:48:23 GMT, Tejesh R <tr at openjdk.org> wrote:

> The issue is that the doc area (in respect to the screen height which is 768px) which is at the bottom was causing the `JFileChooser `to be placed slightly above the set location. Was able to reproduce in local machine with reference to the failure image provided in the CI logs. The suggested fix is to place the main Frame slightly above the center of the screen than setting at the center of the screen. Several CI runs were made and no issue found.

This pull request has now been integrated.

Changeset: 05dad67c
Author:    Tejesh R <tr at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/05dad67cc23fb49627fabfb306acee247ff67aef
Stats:     10 lines in 1 file changed: 6 ins; 2 del; 2 mod

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

Reviewed-by: prr, serb

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

PR: https://git.openjdk.org/jdk/pull/17364


More information about the client-libs-dev mailing list