From 106a868103309d890402125f8232b8cea68a39dd Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Fri, 6 Nov 2015 07:41:19 +0000 Subject: [PATCH] * cleanup --- source/net/filebot/ui/GettingStartedStage.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/net/filebot/ui/GettingStartedStage.java b/source/net/filebot/ui/GettingStartedStage.java index 3ca00ef9..05188b5f 100644 --- a/source/net/filebot/ui/GettingStartedStage.java +++ b/source/net/filebot/ui/GettingStartedStage.java @@ -12,6 +12,7 @@ import java.util.stream.Collectors; import javafx.application.Platform; import javafx.concurrent.Worker; +import javafx.embed.swing.JFXPanel; import javafx.scene.Scene; import javafx.scene.image.Image; import javafx.scene.paint.Color; @@ -27,9 +28,10 @@ public class GettingStartedStage { public static void start() { // initialize JavaFX - new javafx.embed.swing.JFXPanel(); - javafx.application.Platform.setImplicitExit(false); + new JFXPanel(); + // initialize and show webview + Platform.setImplicitExit(false); Platform.runLater(() -> { Stage stage = new Stage(); stage.setResizable(false);