Browse Source

dispose

remotes/origin/server
Marc Dimmerling 11 months ago
parent
commit
4fc87b99aa
  1. 1
      src/main/java/ChatClient.java

1
src/main/java/ChatClient.java

@ -60,6 +60,7 @@ public class ChatClient extends JFrame implements KeyListener {
catch (Exception e) { catch (Exception e) {
JOptionPane.showMessageDialog(null, "Verbindung zum Server \"" + address + "\" fehlgeschlagen."); JOptionPane.showMessageDialog(null, "Verbindung zum Server \"" + address + "\" fehlgeschlagen.");
dispose();
} }
finally { finally {
if (connectionToServer != null) { if (connectionToServer != null) {

Loading…
Cancel
Save