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 |
---|---|
Insets |
GridBagConstraints.insets
This field specifies the external padding of the component, the
minimum amount of space between the component and the edges of its
display area.
|
Modifier and Type | Method and Description |
---|---|
Insets |
Container.getInsets()
Determines the insets of this container, which indicate the size
of the container's border.
|
Insets |
Toolkit.getScreenInsets(GraphicsConfiguration gc)
Gets the insets of the screen.
|
Insets |
Container.insets()
Deprecated. As of JDK version 1.1,
replaced by
getInsets() . |
Constructor and Description |
---|
GridBagConstraints(int gridx,
int gridy,
int gridwidth,
int gridheight,
double weightx,
double weighty,
int anchor,
int fill,
Insets insets,
int ipadx,
int ipady)
Creates a
GridBagConstraints object with
all of its fields set to the passed-in arguments. |