Какие качели границе стили

Ниже приводится список доступных стилей границе (с их краткими описаниями) в Swing.

BevelBorder Gives the component a beveled edge that makes it appear raised or lowered.
CompoundBorder Combines two other Border types to create a compound border.
EmptyBorder A border with no appearance. This is a useful way to place an empty margin around a component.
EtchedBorder Draws a line around the component, using a 3D effect that makes the line appear etched into or raised out of the surrounding container.
LineBorder Draws a line, with a color and thickness you specify, around the component.
MatteBorder Draws the border using a solid color or a tiled image. You specify the border dimensions for all four sides.
SoftBevelBorder Like BevelBorder, but with somewhat more complex graphics that give the bevel a softer edge.
TitledBorder A border that combines text with an EtchedBorder or any other border you specify.

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *

Можно использовать следующие HTML-теги и атрибуты: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>