fixed fix: ApplicationFrame now goes to the center again

This commit is contained in:
Kjistóf 2016-05-14 03:13:47 +02:00
parent 80ff3e4383
commit 12f151478f

View File

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