From 10fb4ac11c26ae1f2f72479c3d899b573fb737d8 Mon Sep 17 00:00:00 2001 From: Selim Eser <2211482@stud.hs-mannheim.de> Date: Sun, 16 Jun 2024 23:07:27 +0200 Subject: [PATCH] Minor changes --- src/main/java/de/hs_mannheim/ui/Main.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/de/hs_mannheim/ui/Main.java b/src/main/java/de/hs_mannheim/ui/Main.java index 9927681..769bba0 100644 --- a/src/main/java/de/hs_mannheim/ui/Main.java +++ b/src/main/java/de/hs_mannheim/ui/Main.java @@ -12,7 +12,7 @@ import java.util.ArrayList; public class Main extends JFrame { public static void main(String[] args) { - Main main = new Main("35a75437476f12302f72e55d368485db"); + new Main("35a75437476f12302f72e55d368485db"); } private Application facade; @@ -194,17 +194,16 @@ public class Main extends JFrame { changeDetailsLabel = new JLabel("Daten ändern"); changeDetailsLabel.setFont(new Font("Arial", Font.PLAIN, 24)); changeNameCreate(); - checkChangePasswordCreate(); changeOrtCreate(); changePLZCreate(); changeCarNameCreate(); changeCarSpeedCreate(); changeCarCO2Create(); changeBikeSpeedCreate(); + checkChangePasswordCreate(); changeConfirmButtonCreate(); changeBackButtonCreate(); changeDetails.add(changeDetailsLabel); - changeDetails.add(checkChangePassword); changeDetails.add(changeName); changeDetails.add(changeOrt); changeDetails.add(changePLZ); @@ -212,6 +211,7 @@ public class Main extends JFrame { changeDetails.add(changeCarCO2); changeDetails.add(changeCarSpeed); changeDetails.add(changeBikeSpeed); + changeDetails.add(checkChangePassword); changeDetails.add(changeBackButton); changeDetails.add(changeConfirmButton); @@ -893,7 +893,7 @@ public class Main extends JFrame { public void checkChangePasswordCreate(){ checkChangePassword = new JPanel(); - JLabel jl = new JLabel("Passwort bestätigen"); + JLabel jl = new JLabel("Passwortbestätigung"); JTextField tf = new JTextField(10); tf.setName("checkChangePasswordText"); checkChangePassword.add(jl);