diff --git a/cicaprojekt/ApplicationFrame.java b/cicaprojekt/ApplicationFrame.java index 5f571a2..5fedbfe 100644 --- a/cicaprojekt/ApplicationFrame.java +++ b/cicaprojekt/ApplicationFrame.java @@ -44,6 +44,7 @@ public class ApplicationFrame implements Runnable jframe = new JFrame(); jframe.setFocusable(true); jframe.setMinimumSize(new Dimension(menuDimension)); + jframe.setLocationRelativeTo(null); jframe.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); initMapselector();