Generated Object

A javax.swing.border.LineBorder, a border that consists of a colored line.

Value Argument

No value argument is accepted. 

Attributes

color: is required.

Content

lineBorder() is a leaf node, no child content is allowed.

Examples

panel(border:lineBorder(Color.RED))
 
panel {
    lineBorder(color:Color.WHITE, thickness:3, parent:true)
}
 
lineBorder(color:BLUE, roundedCorners:true)