GroupLayout arranges components by organizing them into groups. A group may contain components as well as other groups. This nesting ability provides an extremely flexible layout environment that can produce very attractive screen arrangements.
The two types of groups supported by
Parallel Group and
Sequential Group. A parallel group arranges its child elements in the same space on top of each other, while a sequential group arranges child elements one after the other. A special case of parallel group functionality is the ability to align elements along their baseline.
GroupLayout determines the position of an element along the horizontal axis through a horizontal group. The horizontal group is responsible for sizing ...