Test to run -
~/jtreg/bin/jtreg -jdk:$JAVA_HOME -Dsun.java2d.metal=true test/jdk/java/awt/Button/ActionEventTest/ActionEventTest.java
The test is launched, but the window contents are not visible in the beginning.
Doing Alt+Tab twice makes window contents visible.
Tested on Catalina (10.15.4) with Retina display.
~/jtreg/bin/jtreg -jdk:$JAVA_HOME -Dsun.java2d.metal=true test/jdk/java/awt/Button/ActionEventTest/ActionEventTest.java
The test is launched, but the window contents are not visible in the beginning.
Doing Alt+Tab twice makes window contents visible.
Tested on Catalina (10.15.4) with Retina display.