Java Utililty Methods Swing Bevel Border

List of utility methods to do Swing Bevel Border

Description

The list of methods to do Swing Bevel Border are organized into topic(s).

Method

voidborder1(JComponent component)
border
component.setBorder(border1);
BordercreateBevelBorder(int type)
create Bevel Border
BevelBorder b = new BevelBorder(type);
return new BevelBorder(type, b.getHighlightOuterColor(), Color.LIGHT_GRAY, b.getHighlightInnerColor(),
        b.getShadowInnerColor());
BordercreateCompoundBevelBorder()
Creates a bevelled border.
Border raisedbevel = BorderFactory.createRaisedBevelBorder();
Border loweredbevel = BorderFactory.createLoweredBevelBorder();
return BorderFactory.createCompoundBorder(raisedbevel, loweredbevel);
javax.swing.border.BordercreateWidgetBorder()
create Widget Border
return WIDGET_BORDER;
BordergetDefaultBorder()
get Default Border
return defaultBorder;
BordergetNativeLoweredBorder()
get Native Lowered Border
Border border = UIManager.getBorder("InsetBorder.aquaVariant");
if (border == null)
    border = BorderFactory.createLoweredBevelBorder();
return border;
BordergetToolBorder()
Report a standard tool border entity, which is a raised bevel border
if (toolBorder == null) {
    toolBorder = BorderFactory.createRaisedBevelBorder();
return toolBorder;
voidsetPaddedRaisedBevelBorder(JComponent component, int top, int left, int bottom, int right)
set Padded Raised Bevel Border
component.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createRaisedBevelBorder(),
        BorderFactory.createEmptyBorder(top, left, bottom, right)));