File tree 1 file changed +4
-8
lines changed
src/main/java/de/felixroske/jfxsupport
1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -146,14 +146,10 @@ public void start(final Stage stage) throws Exception {
146
146
GUIState .setHostServices (this .getHostServices ());
147
147
final Stage splashStage = new Stage (StageStyle .TRANSPARENT );
148
148
149
- if (AbstractJavaFxApplicationSupport .splashScreen .visible ()) {
150
- final Scene splashScene = new Scene (splashScreen .getParent (), Color .TRANSPARENT );
151
- splashStage .setScene (splashScene );
152
- splashStage .getIcons ().addAll (defaultIcons );
153
- splashStage .initStyle (StageStyle .TRANSPARENT );
154
- beforeShowingSplash (splashStage );
155
- splashStage .show ();
156
- }
149
+ if (AbstractJavaFxApplicationSupport .splashScreen .visible ()) {
150
+ final Scene splashScene = new Scene (splashScreen .getParent (), Color .TRANSPARENT );
151
+ splashStage .setScene (splashScene );
152
+ }
157
153
158
154
final Runnable showMainAndCloseSplash = () -> {
159
155
showInitialView ();
You can’t perform that action at this time.
0 commit comments