* cleanup

This commit is contained in:
Reinhard Pointner 2015-11-06 07:41:19 +00:00
parent 9fd6b028cf
commit 106a868103
1 changed files with 4 additions and 2 deletions

View File

@ -12,6 +12,7 @@ import java.util.stream.Collectors;
import javafx.application.Platform; import javafx.application.Platform;
import javafx.concurrent.Worker; import javafx.concurrent.Worker;
import javafx.embed.swing.JFXPanel;
import javafx.scene.Scene; import javafx.scene.Scene;
import javafx.scene.image.Image; import javafx.scene.image.Image;
import javafx.scene.paint.Color; import javafx.scene.paint.Color;
@ -27,9 +28,10 @@ public class GettingStartedStage {
public static void start() { public static void start() {
// initialize JavaFX // initialize JavaFX
new javafx.embed.swing.JFXPanel(); new JFXPanel();
javafx.application.Platform.setImplicitExit(false);
// initialize and show webview
Platform.setImplicitExit(false);
Platform.runLater(() -> { Platform.runLater(() -> {
Stage stage = new Stage(); Stage stage = new Stage();
stage.setResizable(false); stage.setResizable(false);