//////////////////// JavaFX ////////////////////
00:00 Download JavaFX SDK
gluonhq.com/products/javafx/
//////////////////// Eclipse ////////////////////
00:35 Eclipse - Create Project
- module-info.java file may work if you add "requires" and "open" statements like in the IntelliJ example
01:14 Eclipse - FX Library
02:00 Eclipse - Module Path
02:38 Eclipse - VM Arguments
--module-path (path-to-FX-library) --add-modules javafx.controls,javafx.fxml
03:28 Eclipse - Configure other class that uses JavaFX too
03:55 Eclipse - Running JavaFX Program
//////////////////// IntelliJ ////////////////////
04:08 IntelliJ - Create Project
04:53 IntelliJ - FX Library
05:34 IntelliJ - module-info.java
{
requires javafx.controls;
requires javafx.fxml;
opens (package-that-uses-JavaFX)
}
06:23 IntelliJ - Running JavaFX Program
//////////////////// VS Code ////////////////////
06:46 VS Code - Create Project
07:17 VS Code - Installing JDK
08:14 VS Code - Restart
08:44 VS Code - FX Library
09:13 VS Code - VM Arguments
"vmArgs": "--module-path (path-to-FX-library) --add-modules javafx.controls"
10:47 VS Code - Running JavaFX Program
//////////////////// Windows ////////////////////
11:16 Changes in VM Arguments
Eclipse:
--module-path "(path-to-FX-library)" --add-modules javafx.controls,javafx.fxml
VS Code:
"vmArgs": "--module-path \"(path-to-FX-library)\" --add-modules javafx.controls"
Негізгі бет How to Use JavaFX with Eclipse, IntelliJ, and Visual Studio Code
No video
Пікірлер: 2