Description
Currently there are only three out of seven JavaFX modules included in the Processing editor which severely limits our ability to use it. Please add all seven JavaFX modules to the Processing editor. I have modified two Processing editors using the technique below and can verify that it works. The problem is that even if I write demos using the other modules there is only one other user in the forum who can run them to the best of my knowledge (the other user modified his editor also). One user found that he could run the demo if all the module jar files were copy/pasted into a 'code' folder in the sketch folder. The modules' jar files may be found in the 'libraries' folder. I have been unable to verify that this technique works reliably and frequently other users don't want to do all this just to run a demo. It would be easier for everyone if all the JavaFX modules were added to the Processing editor source code as follows:
- Start with https://github.com/processing/processing4
- Open the “java” folder.
- Open the “src/processing/mode/java” folder.
- Open the file “JavaBuild.java”
- Go to line 1086
- change:
“–add-modules”, “javafx.base,javafx.graphics,javafx.swing”,
to: “–add-modules”, “javafx.base,javafx.graphics,javafx.swing,javafx.controls,javafx.media,javafx.web,javafx.fxml”,
Thanks.