public final class RoundedBorderComponent
extends java.lang.Object
Constructor and Description |
---|
RoundedBorderComponent() |
Modifier and Type | Method and Description |
---|---|
static javax.swing.JComponent |
createRoundedComponent(javax.swing.JComponent originalComponent)
Create a new component with a rounded line border containing the original component.
|
static javax.swing.JComponent |
createRoundedComponent(javax.swing.JComponent originalComponent,
java.awt.Color color)
Create a new component with a rounded line border containing the original component.
|
static void |
main(java.lang.String[] args)
Main method to demo/debug the component.
|
public static javax.swing.JComponent createRoundedComponent(javax.swing.JComponent originalComponent)
originalComponent
- public static javax.swing.JComponent createRoundedComponent(javax.swing.JComponent originalComponent, java.awt.Color color)
originalComponent
- color
- the color to draw the rounded border.public static void main(java.lang.String[] args)
args
-