Absolute Layout Absolute
The size and position of the components do not change when the interface is enlarged or reduced
Floating layout Flowlayout
Components are rearranged as soon as the application window is resized
Border layouts Border layout
The location has 5 directions: East, South, west, north, middle
Grid layout for grid layouts
If you need to arrange a large number of components by law, then the grid layout is the most appropriate, such as the production of the Calculator interface.
CardLayout
Card layouts are different from other layouts because they hide some components. A card layout is a set of containers or components that are only one display at a time, and each container in the group is called a card.
Grouping layouts Group layout
Grouped layouts are one of the most complex layout managers in Swing and can be used to meet the requirements of most component configurations.
User interface Layout in Java