(WindowEvent t)
| 247 | primaryStage.show(); |
| 248 | primaryStage.setOnCloseRequest(new EventHandler<WindowEvent>() { //Propperly kill the app |
| 249 | @Override |
| 250 | public void handle(WindowEvent t) { |
| 251 | Main.preExitTasks(); |
| 252 | Platform.exit(); |
| 253 | System.exit(0); |
| 254 | } |
| 255 | }); |
| 256 | // This sets the fullscreen exit key to blank, and removes the "press ESC to leave fullscreen" because I need Esc for the menu. |
| 257 | primaryStage.setFullScreenExitKeyCombination(KeyCombination.NO_MATCH); |
nothing calls this directly
no test coverage detected