List of utility methods to do Fxml Load
void | loadFxml(Node node) Loads a fxml file and initializes a node as root and controller. try { FXMLLoader fxmlLoader = new FXMLLoader(node.getClass() .getResource(node.getClass().getSimpleName() + ".fxml")); fxmlLoader.setRoot(node); fxmlLoader.setController(node); fxmlLoader.load(); } catch (IOException exception) { throw new RuntimeException(exception); ... |