From 7e60847379b0b062371bdde112bb9e9fb9771f7e Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Sun, 19 Mar 2023 21:46:36 +1100 Subject: [PATCH] gui: Added title and set not resizable --- src/comp1110/ass2/gui/Game.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/comp1110/ass2/gui/Game.java b/src/comp1110/ass2/gui/Game.java index f5b3630..ced2229 100644 --- a/src/comp1110/ass2/gui/Game.java +++ b/src/comp1110/ass2/gui/Game.java @@ -17,6 +17,8 @@ public class Game extends Application { public void start(Stage stage) throws Exception { Scene scene = new Scene(this.root, WINDOW_WIDTH, WINDOW_HEIGHT); stage.setScene(scene); + stage.setTitle("Blue Lagoon"); + stage.setResizable(false); stage.show(); } }