When I run my gui, I have to resize the window for everything to show up. Does someone know what the problem is?
setVisible(true);
after you have added all desired JComponents to your JFrame helped for me.