|
|
@ -46,7 +46,7 @@ public class LoginWIndow implements ActionListener { |
|
|
|
|
|
|
|
if(textFieldValueLogin.equals("user") && textFieldValuePasswort.equals("testpasswort")) { |
|
|
|
System.out.println("Login erfolgreich"); |
|
|
|
JOptionPane.showMessageDialog(null, "Erfolgreich angemeldet!", "Coolio", JOptionPane.OK_OPTION); |
|
|
|
JOptionPane.showMessageDialog(null, "Erfolgreich angemeldet!", "Coolio", JOptionPane.PLAIN_MESSAGE); |
|
|
|
//JOptionPane.showInternalMessageDialog(frame, "Erfolgreich angemeldet!", "Coolio", JOptionPane.INFORMATION_MESSAGE); |
|
|
|
this.frame.setVisible(false); |
|
|
|
this.frame.dispose(); |
|
|
|