I have a JPanel with a gridLayout with buttons, when I run the program, sometimes the grid looks fine, with all the buttons showing, but othertimes, it can look like some of