gui: Added favicon
This commit is contained in:
parent
7e60847379
commit
7be83535c5
@ -18,6 +18,7 @@ public class Game extends Application {
|
||||
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();
|
||||
}
|
||||
|
BIN
src/comp1110/ass2/gui/favicon.png
Normal file
BIN
src/comp1110/ass2/gui/favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
Loading…
Reference in New Issue
Block a user