ApplicationFrame now opens up on the center of the screen
This commit is contained in:
parent
665ac519c2
commit
a9263a41e4
@ -44,6 +44,7 @@ public class ApplicationFrame implements Runnable
|
|||||||
jframe = new JFrame();
|
jframe = new JFrame();
|
||||||
jframe.setFocusable(true);
|
jframe.setFocusable(true);
|
||||||
jframe.setMinimumSize(new Dimension(menuDimension));
|
jframe.setMinimumSize(new Dimension(menuDimension));
|
||||||
|
jframe.setLocationRelativeTo(null);
|
||||||
jframe.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
|
jframe.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
|
||||||
|
|
||||||
initMapselector();
|
initMapselector();
|
||||||
|
Loading…
Reference in New Issue
Block a user