diff --git a/cicaprojekt/ApplicationFrame.java b/cicaprojekt/ApplicationFrame.java index 7ddbae9..cd4ded6 100644 --- a/cicaprojekt/ApplicationFrame.java +++ b/cicaprojekt/ApplicationFrame.java @@ -35,6 +35,7 @@ public class ApplicationFrame implements Runnable public void init(){ jframe = new JFrame(); jframe.setMinimumSize(new Dimension(600, 400)); + jframe.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); mapselectorpanel = new JPanel();