Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JavaFX Script and Java

Simple question: Can I mix in my desktop application Java and JavaFX Script code? If it is possible could you provide me with some link with examples? Or could I pack my custom made javafx CustomNode-s in a jar and use them in my project side by side with standard SWING components?

like image 665
tropikalista Avatar asked Nov 16 '25 01:11

tropikalista


1 Answers

This article gives an example of calling JavaFX from Java, using the Scripting API.

like image 148
Michael Myers Avatar answered Nov 17 '25 21:11

Michael Myers



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!