In this tutorial, I will show you how to setup JFoenix 9.0.10 in IntelliJ 2021.3 so that you can use it with JavaFX Scene Builder 17.0.0 on Windows 11 x64. JFoenix is an open source Java library, that implements Google Material Design using Java components.
To import JFoenix components in JavaFX Scene Builder 17.0.0 do the following:
- click on "Import JAR/FXML file" in scene builder
- select jfoenix-9.0.10.jar file
- choose the components to import into scene builder
You should download the following:
- JDK 17 is available from https://www.oracle.com/java/technolog...
- IntelliJ 2021.3 is available from https://netbeans.apache.org/download/...
- Open JavaFX (OpenJFX) 17.0.1 is available from https://gluonhq.com/products/javafx/.
- JavaFX Scene Builder 17.0.0 is available from https://gluonhq.com/products/scene-bu...
- JFoenix is available from https://github.com/jfoenixadmin/JFoenix
The Installed directories are as following:
C:\Program Files\Java\jdk-17.0.1
C:\Program Files\Java\javafx-sdk-17.0.1
C:\Users\Ken\AppData\Local\SceneBuilder
C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2021.3
C:\Program Files\Java\jfoenix-9.0.10.jar
VM options
--module-path "C:\Program Files\Java\javafx-sdk-17.0.1\lib"
--add-modules=javafx.controls,javafx.fxml
JDK 17.0.1
JavaFX 17.0.1
JavaFX SceneBuilder 17.0.0
IntelliJ IDEA 2021.3
Windows 11 x64