| Package | Description | 
|---|---|
| java.awt | Contains all of the classes for creating user
interfaces and for painting graphics and images. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected GridBagLayoutInfo | GridBagLayout. layoutInfoThis field holds the layout information
 for the gridbag. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected GridBagLayoutInfo | GridBagLayout. getLayoutInfo(Container parent,
             int sizeflag)Fills in an instance of  GridBagLayoutInfofor the
 current set of managed children. | 
| protected GridBagLayoutInfo | GridBagLayout. GetLayoutInfo(Container parent,
             int sizeflag)This method is obsolete and supplied for backwards
 compatibility only; new code should call  getLayoutInfoinstead. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Dimension | GridBagLayout. getMinSize(Container parent,
          GridBagLayoutInfo info)Figures out the minimum size of the
 master based on the information from  getLayoutInfo. | 
| protected Dimension | GridBagLayout. GetMinSize(Container parent,
          GridBagLayoutInfo info)This method is obsolete and supplied for backwards
 compatibility only; new code should call  getMinSizeinstead. | 
 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.