Make sure things are in the correct order. Have you added all the components to panels and all the panels to the frame before you pack and setVisible the frame?