fixed fix: ApplicationFrame now goes to the center again
This commit is contained in:
parent
80ff3e4383
commit
12f151478f
@ -44,13 +44,13 @@ public class ApplicationFrame implements Runnable
|
|||||||
public void init(){
|
public void init(){
|
||||||
jframe = new JFrame();
|
jframe = new JFrame();
|
||||||
jframe.setFocusable(true);
|
jframe.setFocusable(true);
|
||||||
jframe.setLocationRelativeTo(null);
|
|
||||||
jframe.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
|
jframe.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
|
||||||
|
|
||||||
initMapselector();
|
initMapselector();
|
||||||
|
|
||||||
jframe.add(mapselectorpanel);
|
jframe.add(mapselectorpanel);
|
||||||
jframe.pack();
|
jframe.pack();
|
||||||
|
jframe.setLocationRelativeTo(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void backToMapSelection() {
|
public void backToMapSelection() {
|
||||||
|
Loading…
Reference in New Issue
Block a user