-
I'm trying to run the very first program from the book. I'm doing everything as described in pom.xml
FXGLearn01App
But when I run it, I get an error: What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi, thanks for this. It seems the IDE isn't picking up JavaFX modules. You can try adding this workaround as a 2nd class that launches your JavaFX application:
Later examples use FXGL, rather than JavaFX, so hopefully there won't be issues of this type. |
Beta Was this translation helpful? Give feedback.
-
That helped! 🔥 I really don't understand what prevented the IDE from working correctly with the first version of the code and what helped the IDE work correctly this time. 😄 I tried the following examples (where |
Beta Was this translation helpful? Give feedback.
Hi, thanks for this. It seems the IDE isn't picking up JavaFX modules. You can try adding this workaround as a 2nd class that launches your JavaFX application:
Later examples use FXGL, rather than JavaFX, so hopefully there won't be issues of this type.