summaryrefslogtreecommitdiffstats
path: root/Dozentenmodul/src/gui/Login_GUI.java
diff options
context:
space:
mode:
Diffstat (limited to 'Dozentenmodul/src/gui/Login_GUI.java')
-rw-r--r--Dozentenmodul/src/gui/Login_GUI.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/Dozentenmodul/src/gui/Login_GUI.java b/Dozentenmodul/src/gui/Login_GUI.java
index 2b883487..50092858 100644
--- a/Dozentenmodul/src/gui/Login_GUI.java
+++ b/Dozentenmodul/src/gui/Login_GUI.java
@@ -189,8 +189,12 @@ public class Login_GUI extends JFrame {
result = client.authenticate(username.getText(), passText);
} catch (thrift.AuthenticationException e) {
- System.out
- .println("Authentifizierung fehlgeschlagen: " + e.message);
+ System.out.println("Authentifizierung fehlgeschlagen: " + e.message);
+ JOptionPane.showMessageDialog(null,
+ "Benutzeranmeldung fehlgeschlagen: Bitte Benutzername und Passwort überprüfen.",
+ "Anmeldung fehlgeschlagen",
+ JOptionPane.ERROR_MESSAGE);
+
return;
} catch (TException e) {
// TODO Auto-generated catch block