diff --git a/src/comp1110/ass2/gui/Viewer.java b/src/comp1110/ass2/gui/Viewer.java index af8c7f9..e76a607 100644 --- a/src/comp1110/ass2/gui/Viewer.java +++ b/src/comp1110/ass2/gui/Viewer.java @@ -231,7 +231,7 @@ public class Viewer extends Application { root.getChildren().add(controls); makeControls(); - + primaryStage.getIcons().add(new javafx.scene.image.Image(Viewer.class.getResourceAsStream("favicon.png"))); primaryStage.setScene(scene); primaryStage.show(); }