frame.pack() Problem
In my game once you beat a level you see a screen to continue to next level and i use frame.pack(). But after the second time i do this and rest of the times it makes the screen as big as the minimize restore and exit button. how do i fix this?
gratzPanel.setVisible(false);
frame.getContentPane().add (gamePanel);
frame.pack();
gamePanel.setVisible(true);
Message was edited by:
W00t

