Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Generated Object

A javax.swing.border.EtchedBorder, a border that looks like a groove has been etched into the panel.

Value Argument

etchedBorder() takes no value arguments.


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.


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


  • No labels