Created
June 11, 2015 18:15
-
-
Save mambax/cfdeb2ed0313946c8624 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override public void start(Stage primaryStage) throws Exception { | |
try { | |
URL url = getClass().getResource("Application.fxml"); | |
FXMLLoader loader = new FXMLLoader(url); | |
loader.impl_setStaticLoad(true); | |
Parent p = loader.<Parent>load(); | |
stackPane.getChildren().add(p); | |
Scene scene = new Scene(stackPane, 400, 400, Color.GRAY); | |
primaryStage.setTitle("JavaFX SimpleHeatMap Demo"); | |
primaryStage.setScene(scene); | |
primaryStage.show(); | |
} catch (IOException exception) { | |
throw new RuntimeException(exception); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment