RFR: 8354365: Opensource few Modal and Full Screen related tests

Tejesh R tr at openjdk.org
Wed Apr 16 14:14:51 UTC 2025


On Wed, 16 Apr 2025 11:27:22 GMT, Abhishek Kumar <abhiscxk at openjdk.org> wrote:

> Few Modal and Full Screen related tests are converted from applet and open sourced.

test/jdk/java/awt/FullScreen/NonfocusableFrameFullScreenTest.java line 128:

> 126:                     frame.setAlwaysOnTop(true);
> 127:                 }
> 128:                 frame.validate();

Is `frame.validate()` required?

test/jdk/java/awt/Modal/NativeDialogToFrontBackTest.java line 115:

> 113:         control.setSize(200, 200);
> 114:         blocked.setVisible(true);
> 115:         return control;

Can u send the Frame list to PassFailJFrame and placement also can be handled their.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24685#discussion_r2046986019
PR Review Comment: https://git.openjdk.org/jdk/pull/24685#discussion_r2047029272


More information about the client-libs-dev mailing list