1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

* add window icons

This commit is contained in:
Reinhard Pointner 2015-05-10 21:55:47 +00:00
parent bc18cc6489
commit 1a9da1c662

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,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();
});