From da31ac6699fa6b3288759650bfdbebb82aa9491e Mon Sep 17 00:00:00 2001 From: fdai7303 Date: Thu, 30 Jun 2022 12:30:09 +0200 Subject: [PATCH] kleine sache --- GameProject/src/ui/LoginWIndow.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();