javax.swing.plaf.metal

Class MetalBorders.TextFieldBorder

public static class MetalBorders.TextFieldBorder extends MetalBorders.Flush3DBorder implements UIResource

A border used for the {@link JTextField} component.
Constructor Summary
TextFieldBorder()
Creates a new border instance.
Method Summary
voidpaintBorder(Component c, Graphics g, int x, int y, int w, int h)
Paints the border for the specified component.

Constructor Detail

TextFieldBorder

public TextFieldBorder()
Creates a new border instance.

Method Detail

paintBorder

public 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). g the graphics device. x the x-coordinate. y the y-coordinate. w the width. h the height.