diff --git a/src/main/java/de/com/baseband/clientboot/CBWindow.java b/src/main/java/de/com/baseband/clientboot/CBWindow.java index a652596..a9d897d 100644 --- a/src/main/java/de/com/baseband/clientboot/CBWindow.java +++ b/src/main/java/de/com/baseband/clientboot/CBWindow.java @@ -38,6 +38,7 @@ public class CBWindow extends JFrame implements WindowListener { public void waitForClose() { setVisible(true); while(poll()); + setVisible(false); } public boolean poll() {