// load FXML
String lName = this.getClass().getSimpleName() + ".fxml";
URL lURL = this.getClass().getResource(lName);
//System.out.println("loading FXML " + lName + " -> " + lURL);
if (lURL == null) throw new IllegalStateException("FXML file not found: " + lName);
Parent lRoot = (Parent)FXMLLoader.load(lURL, null, new JFXtrasBuilderFactory());
return lRoot;
}
catch (IOException e) {
throw new RuntimeException(e);
}