From the link below, you can find a step-by-step guide on how to install JavaFX and a complete description of the code.
https://www.esignlive.com/blog/esignlive-creating-simple-javafx-desktop-application/
https://www.esignlive.com/blog/esignlive-creating-simple-javafx-desktop-application/
Rate this Code Share