Example 16-10 shows a better example in Java code. Java code can call JavaScript from any thread, including the JavaFX application thread .
Does JavaScript work with Java?
Example 16-10 shows a better example in Java code. Java code can call JavaScript from any thread, including the JavaFX application thread .