Use StageStyle.UTILITY for all platforms

This commit is contained in:
Reinhard Pointner 2016-11-20 02:52:20 +08:00
parent 01c62f7cc0
commit 3779d48afa
1 changed files with 2 additions and 8 deletions

View File

@ -55,14 +55,8 @@ public class GettingStartedStage {
Stage stage = new Stage();
stage.setResizable(false);
if (isMacApp()) {
stage.initStyle(StageStyle.DECORATED);
stage.initModality(Modality.NONE);
} else {
// Windows / Linux specific configuration
stage.initStyle(StageStyle.UTILITY);
stage.initModality(Modality.NONE);
}
stage.initStyle(StageStyle.UTILITY);
stage.initModality(Modality.NONE);
return new GettingStartedStage(stage);
}