diff --git a/pom.xml b/pom.xml
index 8da2cd8..b3e3131 100644
--- a/pom.xml
+++ b/pom.xml
@@ -69,7 +69,7 @@
default-cli
- com.bib.essensbestellungsverwaltung/com.bib.essensbestellungsverwaltung.HelloApplication
+ com.bib.essensbestellungsverwaltung/com.bib.essensbestellungsverwaltung.StartViewApplication
app
app
diff --git a/src/main/java/com/bib/essensbestellungsverwaltung/LoginController.java b/src/main/java/com/bib/essensbestellungsverwaltung/LoginController.java
index 6f3de77..4325d3b 100644
--- a/src/main/java/com/bib/essensbestellungsverwaltung/LoginController.java
+++ b/src/main/java/com/bib/essensbestellungsverwaltung/LoginController.java
@@ -1,12 +1,10 @@
/*Richard Reiswich*/
package com.bib.essensbestellungsverwaltung;
-import javafx.beans.NamedArg;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.control.Alert;
-import javafx.scene.control.Button;
import javafx.scene.control.PasswordField;
import javafx.scene.control.TextField;
import javafx.stage.Stage;
@@ -28,7 +26,7 @@ public class LoginController {
String email = tfEmail.getText();
String password = pfPassword.getText();
if(benutzerMap.containsKey(email) && benutzerMap.containsValue(password)){
- FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("menue-view.fxml"));
+ FXMLLoader fxmlLoader = new FXMLLoader(StartViewApplication.class.getResource("menue-view.fxml"));
Scene scene = new Scene(fxmlLoader.load(), 950,480);
Stage stage = new Stage();
stage.setTitle("Essen Bestellung im Kindergarten");
@@ -44,7 +42,7 @@ public class LoginController {
}
@FXML
protected void changeToSignUp() throws IOException {
- FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("signUp-view.fxml"));
+ FXMLLoader fxmlLoader = new FXMLLoader(StartViewApplication.class.getResource("signUp-view.fxml"));
Scene scene = new Scene(fxmlLoader.load(), 950,480);
Stage stage = new Stage();
stage.setTitle("Essen Bestellung im Kindergarten");
diff --git a/src/main/java/com/bib/essensbestellungsverwaltung/HelloApplication.java b/src/main/java/com/bib/essensbestellungsverwaltung/StartViewApplication.java
similarity index 83%
rename from src/main/java/com/bib/essensbestellungsverwaltung/HelloApplication.java
rename to src/main/java/com/bib/essensbestellungsverwaltung/StartViewApplication.java
index cd4f503..fe03394 100644
--- a/src/main/java/com/bib/essensbestellungsverwaltung/HelloApplication.java
+++ b/src/main/java/com/bib/essensbestellungsverwaltung/StartViewApplication.java
@@ -12,11 +12,11 @@ import javafx.stage.Stage;
import java.io.IOException;
-public class HelloApplication extends Application {
+public class StartViewApplication extends Application {
public static Stage primary;
@Override
public void start(Stage stage) throws IOException {
- FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("login-view.fxml"));
+ FXMLLoader fxmlLoader = new FXMLLoader(StartViewApplication.class.getResource("login-view.fxml"));
Scene scene = new Scene(fxmlLoader.load(), 950,480);
//stage = primary;
stage.setTitle("Essen Bestellung im Kindergarten");
diff --git a/src/main/java/com/bib/essensbestellungsverwaltung/SuperMain.java b/src/main/java/com/bib/essensbestellungsverwaltung/SuperMain.java
index 9fb076c..8652a45 100644
--- a/src/main/java/com/bib/essensbestellungsverwaltung/SuperMain.java
+++ b/src/main/java/com/bib/essensbestellungsverwaltung/SuperMain.java
@@ -5,7 +5,7 @@ public class SuperMain {
if(args.length > 0){
ConsoleMain.main(args);
}else {
- HelloApplication.main(args);
+ StartViewApplication.main(args);
}
}
}