From 6a8d73c09820eb6524d7cd6fb393ae2e702c7573 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjist=C3=B3f?= Date: Fri, 13 May 2016 15:27:54 +0200 Subject: [PATCH] babilon quickfix: added EXIT_ON_CLOSE to ApplicationFrame. --- cicaprojekt/ApplicationFrame.java | 1 + 1 file changed, 1 insertion(+) 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();