-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add all seven of the javafx modules to JavaBuild.java #856
Conversation
Please add _all seven of the javafx modules so that we may use JavaFX controls in our apps. Thanks.
I'd like to second this. This change would also make it much easier to use JavaFX with py5. |
Hi @vsquared and thanks for your suggestion. It looks like the current commit just adds a file to the root of the repository with instructions for modifying |
Hello, I am seeing different behavior with Processing 4.3 and 4.3.1 (no changes and as is). These will run in Processing 4.3.1 with the JavaFX jar files (all or only required) in the sketch folder: I added this to the above in the sketch: They (above) will give errors in Processing 4.3 I did a build of Processing 4.3.1 with IntelliJ IDEA 2024.3 (community Edition) with this:
This is on a W10 PC. |
After modifying two different Processing editors with the above change my observation is that adding the seven javafx jar files to the sketch folder is no longer necessary. I have no experience using javafx in IntelliJ or testing on a platform other than macos. My impression is that adding all the jar files to the sketch folder sometimes fails when trying to run javafx code in an editor that has not been modified. I cannot be 100% certain about this and it needs further study. Nevertheless, I don't think the average user wants to go to all the bother to find the seven jar files and copy them to the sketch folder just to run a javafx demo. It would be easier for everyone if a simple one line change was made to the editor. I know this works for macos, but have not tried it on Windows or Linux. |
@SableRaf - I did another fork of the main app and edited the JavaBuild.java file and submitted a second pull request. |
Please add _all seven of the javafx modules so that we may use JavaFX controls in our apps. Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @vsquared,
Please change the things I marked, I will now look into the JavaFX examples provided and see if they work
Looking at the context of this change as something specific and limited to existing cases handling JavaFX code I think it would probably be fine. I just need to test and understand your use case
Tested on windows, does indeed fix the issue you're describing, so happy to merge after the requested changes. |
Please add _all seven of the javafx modules so that we may use JavaFX controls in our apps. Thanks.
@Stefterv - |
Please add _all seven of the javafx modules so that we may use JavaFX controls in our apps. Thanks.