@ -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);
}
@ -19,5 +19,12 @@
"password": "Test",
"birthday": "01.01.2000",
"stayLoggedIn": false
},
{
"id": "57b7fb2e-50c1-4027-8871-58cbfc8405c8",
"userName": "New",
"password": "123456",
"birthday": "",
]