A CardLayout is a graphical layout manager for a container. It treats each component in the container as a card. Only one card is visible at a time, and the container acts as a stack of cards.
A CardLayout
is a graphical layout manager for a Container
. It treats each component in the container as a card. Only one card is visible at a time, and the container acts as a stack of cards.
For Java Swing, see How to Use CardLayout.