javax.swing.plaf
public static class BorderUIResource.LineBorderUIResource extends LineBorder implements UIResource, Serializable
UIResource,
such as the borders provided by this class.
![[An illustration of two LineBorders]](../border/doc-files/LineBorder-1.png)
| Constructor Summary | |
|---|---|
| LineBorderUIResource(Color color)
Constructs a LineBorderUIResource given its color. | |
| LineBorderUIResource(Color color, int thickness)
Constructs a LineBorder given its color and thickness. | |
Parameters: color the color for drawing the border.
Parameters: color the color for drawing the border. thickness the width of the line in pixels.