diff --git a/GameProject/src/ui/LoginWIndow.java b/GameProject/src/ui/LoginWIndow.java index f7bdf59..6f4337a 100644 --- a/GameProject/src/ui/LoginWIndow.java +++ b/GameProject/src/ui/LoginWIndow.java @@ -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();