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() {