diff --git a/src/comp1110/ass2/gui/Game.java b/src/comp1110/ass2/gui/Game.java index f5b3630..b566c11 100644 --- a/src/comp1110/ass2/gui/Game.java +++ b/src/comp1110/ass2/gui/Game.java @@ -17,6 +17,9 @@ 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.getIcons().add(new javafx.scene.image.Image(Game.class.getResourceAsStream("favicon.png"))); + stage.setResizable(false); stage.show(); } } diff --git a/src/comp1110/ass2/gui/favicon.png b/src/comp1110/ass2/gui/favicon.png new file mode 100644 index 0000000..cd6932b Binary files /dev/null and b/src/comp1110/ass2/gui/favicon.png differ