Provides classes and interface for drawing specialized borders around a Swing component. You can subclass these classes to create customized borders for your components instead of using the default borders provided by the look-and-feel being used.
Related DocumentationFor overviews, tutorials, examples, guides, and tool documentation, please see:
- How to Use Borders , a section in The Java Tutorial
Interface Summary Interface Description BorderInterface describing an object capable of rendering a border around the edges of a swing component.
Class Summary Class Description AbstractBorderA class that implements an empty border with no size. BevelBorderA class which implements a simple two-line bevel border. CompoundBorderA composite Border class used to compose two Border objects into a single border by nesting an inside Border object within the insets of an outside Border object. EmptyBorderA class which provides an empty, transparent border which takes up space but does no drawing. EtchedBorderA class which implements a simple etched border which can either be etched-in or etched-out. LineBorderA class which implements a line border of arbitrary thickness and of a single color. MatteBorderA class which provides a matte-like border of either a solid color or a tiled icon. SoftBevelBorderA class which implements a raised or lowered bevel with softened corners. StrokeBorderA class which implements a border of an arbitrary stroke. TitledBorderA class which implements an arbitrary border with the addition of a String title in a specified position and justification.