Name the borders provided by Swing?



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

Post New Answer

More Swing Interview Questions

Is swing an adjective?

0 Answers  


What are the differences between Swing and AWT?

0 Answers  


Default layout for a ContentPane in JFC?

8 Answers   HCL,


What's java swing?

0 Answers  


What is a component in swing?

0 Answers  






What are the components of swing in java?

0 Answers  


How is parsing html used in swing?

0 Answers  


What is the function of lightweight components used in swing?

0 Answers  


What is the purpose of serialization in swings?

0 Answers  


Which swing methods are thread-safe?

0 Answers  


What is the purpose of transferhandler class?

0 Answers  


What is an event and what are the models available for event handling?

0 Answers  


Categories