diff --git a/src/main/java/LoginGUI.java b/src/main/java/LoginGUI.java index 08b26b5..f8dad01 100644 --- a/src/main/java/LoginGUI.java +++ b/src/main/java/LoginGUI.java @@ -71,6 +71,10 @@ public class LoginGUI extends JFrame implements ActionListener { public void actionPerformed(ActionEvent e) { if (e.getSource() == loginButton) { login(); + }else if (e.getSource() == signUpButton) { + SignUpGUI signUpGUI = new SignUpGUI(); + signUpGUI.setVisible(true); + } } diff --git a/user.json b/user.json index 2dcd5ea..2bef498 100644 --- a/user.json +++ b/user.json @@ -19,5 +19,12 @@ "password": "Test", "birthday": "01.01.2000", "stayLoggedIn": false + }, + { + "id": "57b7fb2e-50c1-4027-8871-58cbfc8405c8", + "userName": "New", + "password": "123456", + "birthday": "", + "stayLoggedIn": false } ] \ No newline at end of file