lineBorder

fun SwingComponentStyleScope.lineBorder(color: Color, thickness: Int = 1)

Sets a line border in color, thickness thick. See border for precedence and restoration.

Parameters

color

the color of the line drawn just inside the component's edges.

thickness

how wide the line is on each side, 1 by default.

See also