diff --git a/src/main/java/com/example/vpr_javafx/Data.java b/src/main/java/com/example/vpr_javafx/Data.java index b294616..78b5986 100644 --- a/src/main/java/com/example/vpr_javafx/Data.java +++ b/src/main/java/com/example/vpr_javafx/Data.java @@ -52,8 +52,8 @@ public class Data { { String[] parts = lines.get(i).split(";"); - String phoneNumber = parts[3]; - String password = parts[5]; + String phoneNumber = parts[2]; + String password = parts[4]; user.put(phoneNumber, password); } diff --git a/src/main/java/com/example/vpr_javafx/HelloController.java b/src/main/java/com/example/vpr_javafx/HelloController.java index fb9d979..e2379dc 100644 --- a/src/main/java/com/example/vpr_javafx/HelloController.java +++ b/src/main/java/com/example/vpr_javafx/HelloController.java @@ -14,6 +14,7 @@ import javafx.scene.image.ImageView; import javafx.scene.layout.AnchorPane; import javafx.stage.Stage; +import javax.imageio.IIOParam; import java.io.Console; import java.io.File; import java.io.FileWriter; diff --git a/target/classes/com/example/vpr_javafx/Data.class b/target/classes/com/example/vpr_javafx/Data.class index 71329cf..f109b35 100644 Binary files a/target/classes/com/example/vpr_javafx/Data.class and b/target/classes/com/example/vpr_javafx/Data.class differ diff --git a/target/classes/com/example/vpr_javafx/HelloController.class b/target/classes/com/example/vpr_javafx/HelloController.class index 8eb144d..2771126 100644 Binary files a/target/classes/com/example/vpr_javafx/HelloController.class and b/target/classes/com/example/vpr_javafx/HelloController.class differ diff --git a/user.txt b/user.txt index bf73a00..6855911 100644 --- a/user.txt +++ b/user.txt @@ -1,2 +1,3 @@ -Felix Düsterhaus;Sabine Gubitz;Detmolderstrasse 101,33102 Paderborn;1234567;Lisa,Peter;12345678A -Kevin Pfannenstiel;Marlene Pfannenstiel;Fürstenallee 30, 33102 Paderborn;7654321;Anton;12345678B +Felix Düsterhaus;Detmolderstrasse 101,33102 Paderborn;1234567;Lisa,Peter;12345678A +Kevin Pfannenstiel;Fürstenallee 30, 33102 Paderborn;7654321;Anton;12345678B +Fridolin Klaus;Fürstenallee 5,33102 Paderborn;987654321;Siegfried Klaus;987654321abc