RFR: 8139208: [macosx] Issue with setExtendedState of JFrame [v3]

lawrence.andrews duke at openjdk.org
Mon Aug 21 17:20:38 UTC 2023


On Mon, 21 Aug 2023 16:54:00 GMT, Alisen Chung <achung at openjdk.org> wrote:

>> Swapped order of showing frame and managing extended frame state.
>
> Alisen Chung has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - test update
>  - added test, updated comment

test/jdk/javax/swing/JFrame/MaximizeWindowTest.java line 22:

> 20:         Robot robot = new Robot();
> 21: 
> 22:         SwingUtilities.invokeAndWait(new Runnable() {

Suggestion, can you use the following instead of overriding the run method.

 SwingUtilities.invokeAndWait(() -> {
            
});

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15236#discussion_r1300424859


More information about the client-libs-dev mailing list