Share via


CardLayout.CardLayout

Class Overview | Class Members | This Package | All Packages

Syntax 1

public CardLayout()

Description

Creates a new card layout with gaps of size zero.

Syntax 2

public CardLayout( int hgap**, int** vgap )

Parameters
  • hgap
    the horizontal gap.
  • vgap
    the vertical gap.
Description

Creates a new card layout with the specified horizontal and vertical gaps. The horizontal gaps are placed at the left and right edges. The vertical gaps are placed at the top and bottom edges.