Creates a preferred gap that acts like a spring with the specified size constraints between the two elements that surround this gap.
Creates a preferred gap that acts like a spring with the specified
size constraints between the two elements that surround this gap.
The minimum size is the preferred size of the gap which is defined by
the LayoutStyle
used.
the relationship between the two components;
the default for this parameter is Related
the preferred size >= 0 of the gap (or one of UseDefault
or Infinite
); the default for this parameter is UseDefault
GroupLayout.Group#addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement, int, int)
A gap between two components that acts like a spring, pushing the two elements away from each other.