Viewer: Added favicon
This commit is contained in:
parent
4ba76d14f8
commit
ce89e9ca37
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user