Because Swing copmponents extend the Container, rather than the Component class, you can add other components to the insides of them.