javax.swing.plaf.metal
public static class MetalBorders.OptionDialogBorder extends AbstractBorder implements UIResource
Constructor Summary | |
---|---|
OptionDialogBorder()
Creates a new border instance. |
Method Summary | |
---|---|
Insets | getBorderInsets(Component c)
Returns the border insets.
|
Insets | getBorderInsets(Component c, Insets newInsets)
Returns the border insets.
|
void | paintBorder(Component c, Graphics g, int x, int y, int w, int h)
Paints the border for the specified component.
|
Parameters: c the component (ignored).
Returns: The border insets.
Parameters: c the component (ignored).
Returns: The border insets.
Parameters: c the component. g the graphics device. x the x-coordinate. y the y-coordinate. w the width. h the height.