I\'m trying to figure out how to work with JavaFx. I built the application interface in Scene Builder. But I can not get access to the component, since all loaded into the P
FXMLLoader.getNamespace() can be used, this is a map of named components.
FXMLLoader loader = new FXMLLoader(getClass().getResource("FXMLDocument.fxml")); Parent root = loader.load(); TextField foo = (TextField)loader.getNamespace().get("exampleFxId");