Merge branch 'master' of https://xp-dev.com/git/RRRRHHHH_Code
[RRRRHHHH_Code] / ruralHouses / src / gui / StartWindow.java
index b6afbf1..98b912e 100644 (file)
@@ -1,12 +1,16 @@
 package gui;
 
 import javax.swing.*;
+
 import java.awt.*;
+import java.awt.event.WindowAdapter;
+import java.awt.event.WindowEvent;
 
 import businessLogic.FacadeImplementation;
 import businessLogic.ApplicationFacadeInterface;
 
 import java.rmi.*;
+
 import configuration.Config;
 
 public class StartWindow extends JFrame {
@@ -120,6 +124,7 @@ public class StartWindow extends JFrame {
                                        try {
                                                facade.close();
                                                setVisible(false);
+                                               System.exit(1);
                                        }
                                        catch (RemoteException e1) {
                                                // TODO Auto-generated catch block