Separator

Swing component: JSeparator
Swing tutorial: How to Use Separators

Properties

Separator Properties

Colors

UI Key Style Key v2 Description
Separator.foreground foreground separator color
Separator.background background if component is opaque, used to fill background

Sizes

UI Key Style Key v2 Type Description
Separator.height height int component height/width for horizontal/vertical orientation; may be larger than stripe
Separator.stripeWidth stripeWidth int thickness of the painted separator line (stripe)
Separator.stripeIndent stripeIndent int indent of painted stripe from top in horizontal orientation or from left in vertical orientation); allows positioning of stripe within component bounds