Viewer: Added favicon

This commit is contained in:
Nathan Woodburn 2023-03-24 14:56:34 +11:00
parent 4ba76d14f8
commit ce89e9ca37
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -231,7 +231,7 @@ public class Viewer extends Application {
root.getChildren().add(controls); root.getChildren().add(controls);
makeControls(); makeControls();
primaryStage.getIcons().add(new javafx.scene.image.Image(Viewer.class.getResourceAsStream("favicon.png")));
primaryStage.setScene(scene); primaryStage.setScene(scene);
primaryStage.show(); primaryStage.show();
} }