| Package | Description |
|---|---|
| javax.swing |
Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
|
| javax.swing.border |
Provides classes and interface for drawing specialized borders around a Swing component.
|
| Modifier and Type | Method and Description |
|---|---|
static Border |
BorderFactory.createStrokeBorder(BasicStroke
Creates a border of the specified
stroke.
|
static Border |
BorderFactory.createStrokeBorder(BasicStroke
Creates a border of the specified
stroke and
paint.
|
| Modifier and Type | Method and Description |
|---|---|
BasicStroke |
StrokeBorder.getStroke()
Returns the
BasicStroke object used to stroke a shape during the border rendering.
|
| Constructor and Description | |
|---|---|
StrokeBorder(BasicStroke
Creates a border of the specified
stroke.
|
|
StrokeBorder(BasicStroke
Creates a border of the specified
stroke and
paint.
|