This image shows how the CardLayout stacks components like a deck of cards.