From 1a9da1c662356882ffd638515c58fe6db357655b Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Sun, 10 May 2015 21:55:47 +0000 Subject: [PATCH] * add window icons --- source/net/filebot/ui/GettingStartedStage.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/net/filebot/ui/GettingStartedStage.java b/source/net/filebot/ui/GettingStartedStage.java index 2151cce6..a3b0166b 100644 --- a/source/net/filebot/ui/GettingStartedStage.java +++ b/source/net/filebot/ui/GettingStartedStage.java @@ -31,6 +31,7 @@ public class GettingStartedStage { Platform.runLater(() -> { Stage stage = new Stage(); + stage.setResizable(false); if (isMacApp()) { // Mac OS X specific configuration @@ -40,11 +41,9 @@ public class GettingStartedStage { // Windows / Linux specific configuration stage.initStyle(StageStyle.UTILITY); stage.initModality(Modality.NONE); + stage.getIcons().addAll(ResourceManager.getApplicationIconURLs().stream().map((url) -> new Image(url.toString())).collect(Collectors.toList())); } - stage.getIcons().addAll(ResourceManager.getApplicationIconURLs().stream().map((url) -> new Image(url.toString())).collect(Collectors.toList())); - stage.setResizable(false); - GettingStartedStage view = new GettingStartedStage(stage); view.show(); });