CardLayout

Class CardLayout

All Implemented Interfaces:
LayoutManager, LayoutManager2, Serializable
public class CardLayout
extends Object
implements LayoutManager2, Serializable

A CardLayout object is a 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. The first component added to a CardLayout object is the visible component when the container is first displayed. 登录查看完整内容