Advanced Java Tutorial


Total available pages count: 55
Subject - Java Technologies

Card Layout

The CardLayout manages the component in such a manner that is only one component is visible as time. The CardLayout treats each component as a card.

CardLayout()

It is used to creates a card layout with zero vertical & horizontal gaps.
 

cardLayout(int hgap, int vgap)

It is used to creates a card layout with a given vertical & horizontal gaps.

Grid_Layout_In_Layout_Manager


Comments