public abstract interface Border
  Comment     Returned-by     Constructor-argument     Method-argument     Field-type     Type-bound     Links  

Interface describing an object capable of rendering a border around the edges of a swing component. For examples of using borders see How to Use Borders, a section in The Java Tutorial.

In the Swing component set, borders supercede Insets as the mechanism for creating a (decorated or plain) area around the edge of a component.

Usage Notes:

See also:
javax.swing.BorderFactory, EmptyBorder, CompoundBorder