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 |
What is import javax swing?
Name the method, to expand & collapse nodes in a Jtree?
Why does JComponent have add() and remove() methods but Component does not?
What is the class in swing to change the appearance of the frame in runtime?
Write a program to paint the off-screen buffer in swings
Does Swing contains any heavy weight component?
am searching for the job based on java, swing, currently working small company. they are not giving any salary slip, offer letter. so if i try outside for MNC's they start with previous company details. what should i do..? please help me to get job and make my career.
Default layout for a ContentPane in JFC?
What is Java Swing?
What is the role of java swing?
What are swings?
Which method of the Component class is used to set the position and size of a component?