import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Scene; import javafx.scene.layout.Pane; import javafx.stage.Stage; public class TestFXML extends Application { public static void main(String[] args) { launch(args); } @Override public void start(Stage stage) throws Exception { stage.setTitle("FXML Example"); Pane myPane = (Pane) FXMLLoader.load(getClass().getResource("barChartRenderingIssue.fxml")); Scene scene = new Scene(myPane); stage.setScene(scene); stage.show(); } }