| 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 | Method and Description | 
|---|---|
| GroupLayout.SequentialGroup | GroupLayout.SequentialGroup. addComponent(boolean useAsBaseline,
            Component component)Adds a  Componentto thisGroup. | 
| GroupLayout.SequentialGroup | GroupLayout.SequentialGroup. addComponent(boolean useAsBaseline,
            Component component,
            int min,
            int pref,
            int max)Adds a  Componentto thisGroupwith the specified size. | 
| GroupLayout.SequentialGroup | GroupLayout.SequentialGroup. addComponent(Component component)Adds a  Componentto thisGroup. | 
| GroupLayout.SequentialGroup | GroupLayout.SequentialGroup. addComponent(Component component,
            int min,
            int pref,
            int max)Adds a  Componentto thisGroupwith the specified size. | 
| GroupLayout.SequentialGroup | GroupLayout.SequentialGroup. addContainerGap()Adds an element representing the preferred gap between an edge
 the container and components that touch the border of the
 container. | 
| GroupLayout.SequentialGroup | GroupLayout.SequentialGroup. addContainerGap(int pref,
               int max)Adds an element representing the preferred gap between one
 edge of the container and the next or previous  Componentwith the specified size. | 
| GroupLayout.SequentialGroup | GroupLayout.SequentialGroup. addGap(int size)Adds a rigid gap to this  Group. | 
| GroupLayout.SequentialGroup | GroupLayout.SequentialGroup. addGap(int min,
      int pref,
      int max)Adds a gap to this  Groupwith the specified size. | 
| GroupLayout.SequentialGroup | GroupLayout.SequentialGroup. addGroup(boolean useAsBaseline,
        GroupLayout.Group group)Adds a  Groupto thisGroup. | 
| GroupLayout.SequentialGroup | GroupLayout.SequentialGroup. addGroup(GroupLayout.Group group)Adds a  Groupto thisGroup. | 
| GroupLayout.SequentialGroup | GroupLayout.SequentialGroup. addPreferredGap(JComponent comp1,
               JComponent comp2,
               LayoutStyle.ComponentPlacement type)Adds an element representing the preferred gap between two
 components. | 
| GroupLayout.SequentialGroup | GroupLayout.SequentialGroup. addPreferredGap(JComponent comp1,
               JComponent comp2,
               LayoutStyle.ComponentPlacement type,
               int pref,
               int max)Adds an element representing the preferred gap between two
 components. | 
| GroupLayout.SequentialGroup | GroupLayout.SequentialGroup. addPreferredGap(LayoutStyle.ComponentPlacement type)Adds an element representing the preferred gap between the
 nearest components. | 
| GroupLayout.SequentialGroup | GroupLayout.SequentialGroup. addPreferredGap(LayoutStyle.ComponentPlacement type,
               int pref,
               int max)Adds an element representing the preferred gap between the
 nearest components. | 
| GroupLayout.SequentialGroup | GroupLayout. createSequentialGroup()Creates and returns a  SequentialGroup. | 
 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, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.