gui: Added favicon
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user