fixed fix: ApplicationFrame now goes to the center again
This commit is contained in:
		@@ -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() {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user