Added a program icon that I snipped from the logo using photoshop.

This commit is contained in:
Kusal Ekanayake
2017-07-18 10:46:41 +12:00
parent 63958a6717
commit 102b5f3ca1
2 changed files with 2 additions and 0 deletions
+2
View File
@@ -4,6 +4,7 @@ import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.stage.Stage;
import seng302.models.PolarTable;
import seng302.models.stream.StreamParser;
@@ -21,6 +22,7 @@ public class App extends Application {
primaryStage.setScene(new Scene(root, 1530, 960));
primaryStage.setMaxWidth(1530);
primaryStage.setMaxHeight(960);
primaryStage.getIcons().add(new Image(getClass().getResourceAsStream("/PP.png")));
// primaryStage.setMaximized(true);
primaryStage.show();
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB