passing values to JavaFX from javascript
As this is my first post , forgive any inaccuracies. My problem , i want to pass the value from an javascript function to Javafx on the initialize method public void initialize(URL arg0, ResourceBundle arg1) { // TODO Auto-generated method stub final URL urlGoogleMaps = getClass().getResource("googlemaps.html"); System.out.println("fjdsoij"); browser.getEngine().load(urlGoogleMaps.toExternalForm()); WebEngine webEngine = browser.getEngine(); webEngine.getLoadWorker().stateProperty().addListener( new ChangeListener<State>(){ @Override public void changed(ObservableValue<? extends State> ov,