This project contains two minimal JavaFX applications demonstrating the use of JavaFX with a modern UI design.
fr.univtln.bruno.samples.jfx.fxapp1.Appfr.univtln.bruno.samples.jfx.fxapp2.App
- JDK 23 or later (JavaFX 25.0.2
module-inforequires it); the reference build runs on JDK 25, while the pom compiles with release 21
To package and run the application using the JavaFX Maven plugin:
./mvnw package
./mvnw javafx:runTo package the application with the necessary dependencies and JRE, even with non-modular dependencies, use the dedicated profile to package the application with the necessary dependencies and JRE:
./mvnw -P jlink package
./target/image/bin/myappsrc/main/java: Contains the Java source files.src/main/resources: Contains the FXML and CSS files.
This project is licensed under the MIT License. See the LICENSE file for details.