















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
















right, top-to-bottom in the order they were inserted into the container.
components, the remaining components are placed in the next row, etc.
GridLayout(r, c, hgap, vgap)
r – number of rows in the layout
c – number of columns in the layout
hgap – horizontal gaps between components
vgap – vertical gaps between components
GridLayout(r, c)
r – number of rows in the layout
c – number of columns in the layout
No vertical or horizontal gaps. GridLayout()
A single row and no vertical or horizontal gaps.
component, are missing then the rest of the existing components are stretched to fill the remaining space in the container.
BorderLayout(hgap, vgap)
BorderLayout()
Nested Containers with Layouts
same type or totally different type of a layout
manager.
Overview of Advanced Layout
Managers