| Package | Description | 
|---|---|
| javax.swing | Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | GroupLayout.ParallelGroupA  Groupthat aligns and sizes it's children. | 
| class  | GroupLayout.SequentialGroupA  Groupthat positions and sizes its elements
 sequentially, one after another. | 
| Modifier and Type | Method and Description | 
|---|---|
| GroupLayout.Group | GroupLayout.Group. addComponent(Component component)Adds a  Componentto thisGroup. | 
| GroupLayout.Group | GroupLayout.Group. addComponent(Component component,
            int min,
            int pref,
            int max)Adds a  Componentto thisGroupwith the specified size. | 
| GroupLayout.Group | GroupLayout.Group. addGap(int size)Adds a rigid gap to this  Group. | 
| GroupLayout.Group | GroupLayout.Group. addGap(int min,
      int pref,
      int max)Adds a gap to this  Groupwith the specified size. | 
| GroupLayout.Group | GroupLayout.Group. addGroup(GroupLayout.Group group)Adds a  Groupto thisGroup. | 
| Modifier and Type | Method and Description | 
|---|---|
| GroupLayout.SequentialGroup | GroupLayout.SequentialGroup. addGroup(boolean useAsBaseline,
        GroupLayout.Group group)Adds a  Groupto thisGroup. | 
| GroupLayout.ParallelGroup | GroupLayout.ParallelGroup. addGroup(GroupLayout.Alignment alignment,
        GroupLayout.Group group)Adds a  Groupto thisParallelGroupwith the
 specified alignment. | 
| GroupLayout.Group | GroupLayout.Group. addGroup(GroupLayout.Group group)Adds a  Groupto thisGroup. | 
| GroupLayout.SequentialGroup | GroupLayout.SequentialGroup. addGroup(GroupLayout.Group group)Adds a  Groupto thisGroup. | 
| GroupLayout.ParallelGroup | GroupLayout.ParallelGroup. addGroup(GroupLayout.Group group)Adds a  Groupto thisGroup. | 
| void | GroupLayout. setHorizontalGroup(GroupLayout.Group group)Sets the  Groupthat positions and sizes
 components along the horizontal axis. | 
| void | GroupLayout. setVerticalGroup(GroupLayout.Group group)Sets the  Groupthat positions and sizes
 components along the vertical axis. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.