Name the borders provided by Swing?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is actionlistener in java swing?

629


Is swing thread-safe?

653


What is swing used for?

572


What is swing in java with example?

605


What is a swing application?

590






What is swing package in java?

605


Can a class be it?s own event handler? Explain how to implement this?

614


What do you mean by java swing?

603


What is jfc? What are the features of jfc?

696


Is javafx better than swing?

589


What are heavy weight components ?

699


What is swing control?

595


What are the benefits of swing over awt?

672


Which swing methods are thread-safe?

725


What are controls and what are different types of controls in awt?

623