(Stage stage)
| 60 | } |
| 61 | |
| 62 | @Override |
| 63 | public void start(Stage stage) throws Exception { |
| 64 | Platform.setImplicitExit(false); |
| 65 | // Set instances |
| 66 | window = this; |
| 67 | this.stage = stage; |
| 68 | stage.setOnCloseRequest(e -> controller.exit()); |
| 69 | setup(); |
| 70 | stage.show(); |
| 71 | } |
| 72 | |
| 73 | private void setup() { |
| 74 | if (OSUtil.getOSType() == OSUtil.MAC) { |
no test coverage detected