Created
October 1, 2019 07:46
-
-
Save BMU-Verlag/bd44009fd450c0dc5cd6e6827e5b2fbc to your computer and use it in GitHub Desktop.
This file contains hidden or 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) { | |
try { | |
Parent root = FXMLLoader.load(getClass().getResource("calculator.fxml")); | |
Scene scene = new Scene(root); | |
primaryStage.setScene(scene); | |
primaryStage.setTitle("Calculator"); | |
primaryStage.show(); | |
} catch (Exception e) { | |
e.printStackTrace(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment