0

I don't have any experience in JavaFX and I know a little about javascript. I want to develop a desktop app in JavaFX and adding some javascript functionality in JavaFX code. I have a .js file with the functions I need to use, but I don't know how to use them. What are the main steps for doing it? I've been told it is possible

Yerko Antonio
  • 657
  • 3
  • 8
  • 16

1 Answers1

0

You can use scripting and script event handlers in an fxml document.

You can also embed a WebView to process HTML and JavaScript.

jewelsea
  • 150,031
  • 14
  • 366
  • 406