JavaFX Environment Setup
JavaFX
Download JavaFX for 11, not for IntelliJ Bundled JDK
Windows and Linux Versions are different, one should not work on another.
Unzip JavaFX to your HDD
Go to Structure for New Projects
Add JavaFX to Global Library
Go to Preferences (or File -> Settings) -> Appearance & Behavior ->
Path Variables, and define the name of the variable as PATH_TO_FX, and browse to the lib folder of the JavaFX SDK to set its value, and click apply.
Create New JavaFX Project
Go to File -> Project Structure -> Global Libraries -> JavaFX -> Add to Module
Go to Run -> Edit Configurations . . . and add these VM Options:
--module-path ${PATH_TO_FX} --add-modules=javafx.base,javafx.controls,javafx.fxml,javafx.graphics,javafx.media,javafx.swing,javafx.web --add-opens javafx.base/com.sun.javafx.runtime=ALL-UNNAMED --add-opens javafx.controls/com.sun.javafx.scene.control.behavior=ALL-UNNAMED --add-opens javafx.controls/com.sun.javafx.scene.control=ALL-UNNAMED --add-opens javafx.base/com.sun.javafx.binding=ALL-UNNAMED --add-opens javafx.base/com.sun.javafx.event=ALL-UNNAMED --add-opens javafx.graphics/com.sun.javafx.stage=ALL-UNNAMED
You’re ready to GO…
Scene Builder Setup
Download Scene Builder
Setup Scene Builder
Add Scene Builder to IntelliJ (Path to SceneBuilder)
Ready To GO…
Md. Toki Tahmid suggested to use “Netbeans IDE” with Scene Builder