public class GridBagLayouts extends Object
GridBagLayout| Modifier and Type | Method and Description |
|---|---|
static void |
addRow(Container container,
int row,
int extraSpaceColumn,
Component... components)
Add the given components as a new row in the given container,
which must have a
GridBagLayout. |
public static void addRow(Container container, int row, int extraSpaceColumn, Component... components)
GridBagLayout.container - The containerrow - The rowextraSpaceColumn - The index of the column that should receive
any extra spacecomponents - The components to addIllegalArgumentException - If the given container does
not have a GridBagLayout.Copyright © 2022. All rights reserved.