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 | Description |
---|---|---|
static Border |
BorderFactory.createStrokeBorder(BasicStroke stroke) |
Creates a border of the specified
stroke . |
static Border |
BorderFactory.createStrokeBorder(BasicStroke stroke,
Paint paint) |
Creates a border of the specified
stroke and paint . |
Modifier and Type | Method | Description |
---|---|---|
BasicStroke |
StrokeBorder.getStroke() |
Returns the
BasicStroke object used to stroke a shape
during the border rendering. |
Constructor | Description |
---|---|
StrokeBorder(BasicStroke stroke) |
Creates a border of the specified
stroke . |
StrokeBorder(BasicStroke stroke,
Paint paint) |
Creates a border of the specified
stroke and paint . |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps