diff --git a/client/app/src/main/java/main/MainApplication.java b/client/app/src/main/java/main/MainApplication.java index 6514b0d..ac5f771 100644 --- a/client/app/src/main/java/main/MainApplication.java +++ b/client/app/src/main/java/main/MainApplication.java @@ -15,10 +15,18 @@ public class MainApplication extends Application { Scene scene = new Scene(fxmlLoader.load(), 1200, 700); scene.getStylesheets().add(Objects.requireNonNull(MainApplication.class.getResource("main-view.css")).toExternalForm()); - stage.setTitle("Hello!"); + stage.setTitle("SharePlaner"); stage.setScene(scene); stage.show(); + FXMLLoader fxmlLoaderLogin = new FXMLLoader(MainApplication.class.getResource("../users/login.fxml")); + Scene sceneLogin = new Scene(fxmlLoaderLogin.load(), 650, 500); + sceneLogin.getStylesheets().add(Objects.requireNonNull(MainApplication.class.getResource("../users/login.css")).toExternalForm()); + Stage stageLogin = new Stage(); + stageLogin.setTitle("Anmelden"); + stageLogin.setScene(sceneLogin); + stageLogin.show(); + } public static void main(String[] args) { diff --git a/client/app/src/main/java/users/LoginControler.java b/client/app/src/main/java/users/LoginControler.java new file mode 100644 index 0000000..df20ac2 --- /dev/null +++ b/client/app/src/main/java/users/LoginControler.java @@ -0,0 +1,4 @@ +package users; + +public class LoginControler { +} diff --git a/client/app/src/main/resources/users/login.css b/client/app/src/main/resources/users/login.css new file mode 100644 index 0000000..e69de29 diff --git a/client/app/src/main/resources/users/login.fxml b/client/app/src/main/resources/users/login.fxml new file mode 100644 index 0000000..25a9267 --- /dev/null +++ b/client/app/src/main/resources/users/login.fxml @@ -0,0 +1,11 @@ + + + + + + + + + + +