JavaTM 2 Platform
Std. Ed. v1.3

Package javax.swing.border

Provides classes and interface for drawing specialized borders around a Swing component.

See:
          Description

Interface Summary
Border Interface describing an object capable of rendering a border around the edges of a swing component.
 

Class Summary
AbstractBorder A class that implements an empty border with no size.
BevelBorder A class which implements a simple 2 line bevel border.
CompoundBorder A 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.
EmptyBorder A class which provides an empty, transparent border which takes up space but does no drawing.
EtchedBorder A class which implements a simple etched border which can either be etched-in or etched-out.
LineBorder A class which implements a line border of arbitrary thickness and of a single color.
MatteBorder A class which provides a matte-like border of either a solid color or a tiled icon.
SoftBevelBorder A class which implements a raised or lowered bevel with softened corners.
TitledBorder A class which implements an arbitrary border with the addition of a String title in a specified position and justification.
 

Package javax.swing.border Description

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 Documentation

For overviews, tutorials, examples, guides, and tool documentation, please see:

Since:
1.2

JavaTM 2 Platform
Std. Ed. v1.3

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.