|
|
@ -46,7 +46,7 @@ public class LoginWindow implements ActionListener{ |
|
|
|
if(ae.getSource() == this.loginButton) { |
|
|
|
if (loginText.getText().equals("admin") && passwordText.getText().equals("Password123!")) { |
|
|
|
JOptionPane.showMessageDialog(frame, "Login erfolgreich", "Login Meldung", JOptionPane.INFORMATION_MESSAGE); |
|
|
|
frame.setVisible(false); |
|
|
|
System.exit(0); |
|
|
|
|
|
|
|
} else { |
|
|
|
JOptionPane.showMessageDialog(frame, "Login fehlgeschlagen", "Login Meldung", JOptionPane.ERROR_MESSAGE); |
|
|
|