Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

etchedBorder() takes no value arguments.

Attributes

If any of shadow: or highlight: are specified, all must be specified.

  • highlight <Color> The color that is to be painted on the highlight side of the etch.
  • shadow <Color> The color that is to be painted on the shadow side of the etch.
  • parent <boolean> Whether or not this border is to be added to the parent JComponent.

...

Code Block
panel(border:etchedBorder())
 
panel {
    etchedBorder(shadow:Color.RED, highlight:Color.PINK, parent:true)
}