<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.

Amresh Sahu github.com+72060147+amresh-sahu at openjdk.java.net
Tue Feb 16 15:38:39 UTC 2021


On Tue, 16 Feb 2021 15:32:02 GMT, Alexey Ivanov <aivanov 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.
>
>> 
>> 
>> 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().

I will incorporate the suggested change.

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

PR: https://git.openjdk.java.net/jdk/pull/2587


More information about the swing-dev mailing list