When I run my gui, I have to resize the window for everything to show up. Does someone know what the problem is?
Call pack() on your JFrame, after adding all your components and before calling setVisible(true).