(Stage stage)
| 22 | |
| 23 | |
| 24 | @Override |
| 25 | public void start(Stage stage) { |
| 26 | try { |
| 27 | UserSettingsService.initTheme(); |
| 28 | |
| 29 | updateAppWindowTitle(stage); |
| 30 | stage.getIcons().add(new Image(Objects.requireNonNull(App.class.getResourceAsStream("icon-64.png")))); |
| 31 | stage.setMinHeight(300); |
| 32 | stage.setMinWidth(400); |
| 33 | stage.initStyle(StageStyle.DECORATED); |
| 34 | |
| 35 | MainController.load(stage); |
| 36 | |
| 37 | WindowService.setup(stage); |
| 38 | stage.show(); |
| 39 | |
| 40 | } catch (Exception e) { |
| 41 | e.printStackTrace(); |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | public static void updateAppWindowTitle(Stage stage) { |
| 46 | ResourceBundle resourceBundle = |
nothing calls this directly
no test coverage detected