Skip to content

Commit

Permalink
Update FiguresApplication.java
Browse files Browse the repository at this point in the history
now has app icon ;)
  • Loading branch information
amp-m9 committed Jun 17, 2023
1 parent 151eee8 commit 960100e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/xyz/andrick/figures/FiguresApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox;
Expand All @@ -21,6 +22,7 @@ public void start(Stage primaryStage) throws IOException {
Scene scene = new Scene(root);
scene.getStylesheets().add(getClass().getResource("settings.css").toExternalForm());

primaryStage.getIcons().add(new Image(getClass().getResource("icon.png").toExternalForm()));
primaryStage.setTitle("Figures: Create a session");
primaryStage.setScene(scene);
primaryStage.setResizable(false);
Expand Down

0 comments on commit 960100e

Please sign in to comment.