<Swing Dev> RFR: JDK-8075909: [TEST_BUG] The regression-swing case failed as it does not have the 'Open' button when select 'subdir' folder with NimbusLAF.
Alexey Ivanov
aivanov at openjdk.java.net
Tue Feb 16 15:34:39 UTC 2021
On Tue, 16 Feb 2021 15:26:38 GMT, Amresh Sahu <github.com+72060147+amresh-sahu at openjdk.org> wrote:
>
>
> init method is part of applet version of test case. It needs to be completely converted to java version. I will do the appropriate changes.
No, it's not necessary. I meant the opposite. You can create an instance of the test class and call init():
SwingUtilities.invokeAndWait(() -> new bug6698013().init());
Moreover, Swing components should be created and manipulated on EDT, which does not hold for the current main().
-------------
PR: https://git.openjdk.java.net/jdk/pull/2587
More information about the swing-dev
mailing list