Add: Exit
This commit is contained in:
@@ -84,6 +84,10 @@ public class GUI extends Application implements IView {
|
||||
primaryStage.setMaximized(true);
|
||||
primaryStage.setMinWidth(1583);
|
||||
primaryStage.setMinHeight(734);
|
||||
primaryStage.setOnCloseRequest(e -> {
|
||||
Platform.exit();
|
||||
System.exit(0);
|
||||
});
|
||||
primaryStage.show();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user