Whenever I try to run my first and simple hello world JavaFX project on my 14 inch MacBook M1 Pro I see the following screen:
It seems a folder named java, only thing i can do is terminate the process from the eclipse console.
Here more images about the javaFX setup (seems all correct): I read a lot of different forums and they said that with the latest versione I should have all the libraries in the "Modulepath", however i tried all the different possibilities and no one seems work.
a window appears, not a folder
I just ran your code, without the line about stylesheets.
This code works. A small empty window appears in the middle of my screen.
I used IntelliJ rather than Eclipse, but that really should not matter.
Though not related to your problem, I suggest adding some content to your pane. For example:
I ran this on Apple MacBook Pro, 16-inch, 2021, with Apple M1 Pro chip, macOS Ventura 13.6. Used the LibericaFX JDK from BellSoft, version 21.0.1.
My Maven POM file:
More tips, but not related to your problem: