pane.setMinimumSize(new Dimension(screenSize.width, 0));
/*
* Create the main game screen
*/
screen = new GameScreen(client);
screenController = new ScreenController(screen);
GameScreen.setDefaultScreen(screen);
screen.setMinimumSize(new Dimension(screenSize.width, 0));
// ... and put it on the ground layer of the pane