Browse Source

kleine sache

master
fdai7303 2 years ago
parent
commit
da31ac6699
  1. 2
      GameProject/src/ui/LoginWIndow.java

2
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();

Loading…
Cancel
Save