* cleanup
This commit is contained in:
parent
9fd6b028cf
commit
106a868103
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue