CardLayout provides a way to manage two or more components that occupy the same display area. Conceptually, each component is like a card in a deck, where all cards are the same size and only the top card is visible at any time.
Since all the cards share the same display space, at design time you select components in the Component Inspector.
See also | |
---|---|
Setting the Layout Manager |