The GridLayout is used to arrange the component in the rectangular grid format. The component is displayed in each of the rectangles.
the method used to create a grid layout with 1 column or component in the row.
The method is used to create a grid layout with rows & columns without gaps between components.
The method is used to create a grid layout with the rows & columns along with vertical & horizontal gaps.