After you set your user library with the required JavaFX classes, click the
dropdown menu next to the run button
Click "Run Configurations" and go to the "Arguments" tab
In the "VM arguments" box copypaste the following:
--module-path="Addpath oJavaFXlib" --add-modules=javafx.controls,javafx.fxml