JavaFX Applet Web Page Updates and Closes
1 answer
Two steps:
- You may need to use the window.onunload javascript event to tell your JavaFX application to "close". If you do this, you can
- Add
FX.addShutdownAction(myfunction);
to your functionrun()
. This will execute my function when your application is closed.
I don't have the complete code for you here, but I hope this is a start. You may not need to do step 1.
+3
source to share