Search code examples
javainteropjavafxjavafx-1

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?


Solution

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