From 12f151478fb37df4c50b73dc35611b2279464ffd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjist=C3=B3f?= Date: Sat, 14 May 2016 03:13:47 +0200 Subject: [PATCH] fixed fix: ApplicationFrame now goes to the center again --- cicaprojekt/ApplicationFrame.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cicaprojekt/ApplicationFrame.java b/cicaprojekt/ApplicationFrame.java index e7e7f84..ec90ddd 100644 --- a/cicaprojekt/ApplicationFrame.java +++ b/cicaprojekt/ApplicationFrame.java @@ -44,13 +44,13 @@ public class ApplicationFrame implements Runnable public void init(){ jframe = new JFrame(); jframe.setFocusable(true); - jframe.setLocationRelativeTo(null); jframe.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); initMapselector(); jframe.add(mapselectorpanel); jframe.pack(); + jframe.setLocationRelativeTo(null); } public void backToMapSelection() {