You cannot dynamically add components after a container has been realized and expect them to display..if you do add components, you must revalidate so the LayoutManager knows to modify the GUI.