From af3dd5d229b86d48d9ab5286af7e49af763125b5 Mon Sep 17 00:00:00 2001 From: Michael-Jouanneau Date: Sat, 12 Nov 2016 09:46:59 +0100 Subject: [PATCH] Changed Things --- src/Launcher/Main.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Launcher/Main.java b/src/Launcher/Main.java index dca1bf1..528cd14 100644 --- a/src/Launcher/Main.java +++ b/src/Launcher/Main.java @@ -14,7 +14,6 @@ import com.tofvesson.reflection.SafeReflection; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Node; -import javafx.scene.Parent; import javafx.scene.Scene; import javafx.scene.control.*; import javafx.scene.image.Image; @@ -96,13 +95,11 @@ public class Main extends Application { if(!activeTab.equals(Instance_btn)){ updateTabSelection(Instance_btn); Tabs.switchTab("instance", tab); - DialogPane d = new DialogPane(); Tabs.load("instance").lookup("#Launch-VM").setOnMouseClicked(event1 -> { Dialog d1 = new Dialog<>(); DialogPane d2 = d1.getDialogPane(); - d2.setContent(new TextArea("Hello")); + d2.setContent(new TextArea("Launching")); d1.show(); - }); } });