static TitledBorder |
BorderFactory.createTitledBorder(String title) |
Creates a new titled border with the specified title,
the default border type (determined by the current look and feel),
the default text position (determined by the current look and feel),
the default justification (leading), and the default
font and text color (determined by the current look and feel).
|
static TitledBorder |
BorderFactory.createTitledBorder(Border border) |
Creates a new titled border with an empty title,
the specified border object,
the default text position (determined by the current look and feel),
the default justification (leading), and the default
font and text color (determined by the current look and feel).
|
static TitledBorder |
BorderFactory.createTitledBorder(Border border,
String title) |
Adds a title to an existing border,
with default positioning (determined by the current look and feel),
default justification (leading) and the default
font and text color (determined by the current look and feel).
|
static TitledBorder |
BorderFactory.createTitledBorder(Border border,
String title,
int titleJustification,
int titlePosition) |
Adds a title to an existing border, with the specified
positioning and using the default
font and text color (determined by the current look and feel).
|
static TitledBorder |
BorderFactory.createTitledBorder(Border border,
String title,
int titleJustification,
int titlePosition,
Font titleFont) |
Adds a title to an existing border, with the specified
positioning and font, and using the default text color
(determined by the current look and feel).
|
static TitledBorder |
BorderFactory.createTitledBorder(Border border,
String title,
int titleJustification,
int titlePosition,
Font titleFont,
Color titleColor) |
Adds a title to an existing border, with the specified
positioning, font and color.
|