From 3c0ebd24d70302a4ace627be9698d9eb3811194d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20K=C3=BChn?= Date: Tue, 18 Jan 2022 12:51:53 +0100 Subject: [PATCH] Fixed MainApplication --- client/app/src/main/java/main/MainApplication.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/app/src/main/java/main/MainApplication.java b/client/app/src/main/java/main/MainApplication.java index 84388ab..6b42228 100644 --- a/client/app/src/main/java/main/MainApplication.java +++ b/client/app/src/main/java/main/MainApplication.java @@ -12,13 +12,13 @@ import java.util.Objects; public class MainApplication extends Application { @Override public void start(Stage stage) throws IOException { - //wieder ändern zu main-view.fxml - FXMLLoader fxmlLoader = new FXMLLoader(MainApplication.class.getResource("../users/create-user.fxml")); + + FXMLLoader fxmlLoader = new FXMLLoader(MainApplication.class.getResource("main-view.fxml")); Scene scene = new Scene(fxmlLoader.load(), 1200, 700); scene.getStylesheets().add(Objects.requireNonNull( - //wieder ändern zu main-view.css - MainApplication.class.getResource("../users/create-user.css")).toExternalForm()); + + MainApplication.class.getResource("main-view.css")).toExternalForm()); stage.setTitle("SharePlaner"); stage.setScene(scene); //wieder löschen