I have a Javafx project with Open Street Map implemented onto a scene using WebView and leaflet: picture
I want to open a new Javafx window or a popup when a button on the leaflet popup is clicked. Yes, it's the tiny little grey box (for now)
How do I trigger a Javafx function from a button click?