openjfx / samples

JavaFX samples to run with different options and build tools
BSD 3-Clause "New" or "Revised" License
596 stars 1.52k forks source link

blank pop-up window "Hello, JavaFX 17.0.1, running on Java 19.0.1" + WARNING: Timeout while waiting for app reactivation #74

Closed yezhengli-Mr9 closed 1 year ago

yezhengli-Mr9 commented 1 year ago

As for https://openjfx.io/openjfx-docs/#maven, after running on macOS Sonoma,

mvn javafx:run

confront

com.sun.glass.ui.mac.MacApplication lambda$waitForReactivation$6
WARNING: Timeout while waiting for app reactivation

and blank pop-up window

Hello, JavaFX 20.0.2, running on Java 20.0.2

image

Seems relevant to https://stackoverflow.com/questions/77223963/javafx-window-takes-a-while-to-load-and-getting-an-error-in-eclipse. However, when I try to follow javafx-sdk-20.0.2 https://bugs.openjdk.org/browse/JDK-8315657

<javafx.version>20.0.2</javafx.version>

instead of https://github.com/openjfx/samples/blob/f44ca19e4178ee01663d7a2ae8a5da8e58eee1fa/HelloFX/Maven/hellofx/pom.xml#L13 The issue persists with

Hello, JavaFX 20.0.2, running on Java 20.0.2

image

The original issue exists MacOS Monterey as well. blank pop-up window

Hello, JavaFX 20.0.2, running on Java 20.0.2

but without

-- com.sun.glass.ui.mac.MacApplication lambda$waitForReactivation$6
-- WARNING: Timeout while waiting for app reactivation
yezhengli-Mr9 commented 1 year ago

This is successful "Hello World". Sorry for this.