GridBagLayout.addLayoutComponent
Class Overview | Class Members |
This Package |
All Packages
public void addLayoutComponent( String name,
Component comp )
Parameters
- name
- the name of the component.
- comp
- the component to be added.
Description
Adds the specified component with the specified name to the layout.
public void addLayoutComponent( Component comp,
Object constraints )
Parameters
- comp
- the component to be added.
- constraints
- an object that determines how
the component is added to the layout.
Description
Adds the specified component to the layout, using the specified
constraint object.