* add window icons

This commit is contained in:
Reinhard Pointner 2015-05-10 21:55:47 +00:00
parent bc18cc6489
commit 1a9da1c662
1 changed files with 2 additions and 3 deletions

View File

@ -31,6 +31,7 @@ public class GettingStartedStage {
Platform.runLater(() -> {
Stage stage = new Stage();
stage.setResizable(false);
if (isMacApp()) {
// Mac OS X specific configuration
@ -40,10 +41,8 @@ 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.setResizable(false);
}
GettingStartedStage view = new GettingStartedStage(stage);
view.show();