public boolean isBorderPainted ()

Checks whether the border should be painted.

Returns:  true if the border is painted, false otherwise

See also:
setBorderPainted