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

Reply via email to