Name the borders provided by Swing?
Answer / chnvganesh_mca
BevelBorder
A 3D border with a raised or lowered appearance.
CompoundBorder
A combination of two borders: an inside border
and an outside border.
EmptyBorder
A transparent border used to define empty space
(often referred to as white space) around a component.
EtchedBorder
A border with an etched lineappearance.
LineBorder
A flat border with a specified thickness and color.
MatteBorder
A border consisting of either a flat color or
tiled image.
SoftBevelBorder
A 3D border with a raised or lowered appearance,
and rounded edges.
TitledBorder
A border allowing a String title in a specific location and
position. We can set the title font, color, justification,
and position of the title text using TitleBorder methods
and constants where necessary (see API docs).
| Is This Answer Correct ? | 9 Yes | 0 No |
when we right click on the JTable using mouse it works properly but how to right click on JTable in java using keyboard what should be the code for the same.....? Thanks Nitin
What is swing and awt in java?
What does x mean in javax.swing?
What is the difference between swing and awt in java?
How is multi-threading gets implemented using swing?
What is the relationship between clipping and repainting?
What is an event handler in swing?
Name the borders provided by Swing?
What is swing used for?
What is the base class for all of swing components?
Write a program to include the internal frame in swing.
how to give transparency to JComboBox,JList and JTable