List of utility methods to do Swing Bevel Border
void | border1(JComponent component) border component.setBorder(border1); |
Border | createBevelBorder(int type) create Bevel Border BevelBorder b = new BevelBorder(type); return new BevelBorder(type, b.getHighlightOuterColor(), Color.LIGHT_GRAY, b.getHighlightInnerColor(), b.getShadowInnerColor()); |
Border | createCompoundBevelBorder() Creates a bevelled border. Border raisedbevel = BorderFactory.createRaisedBevelBorder();
Border loweredbevel = BorderFactory.createLoweredBevelBorder();
return BorderFactory.createCompoundBorder(raisedbevel, loweredbevel);
|
javax.swing.border.Border | createWidgetBorder() create Widget Border return WIDGET_BORDER;
|
Border | getDefaultBorder() get Default Border return defaultBorder;
|
Border | getNativeLoweredBorder() get Native Lowered Border Border border = UIManager.getBorder("InsetBorder.aquaVariant"); if (border == null) border = BorderFactory.createLoweredBevelBorder(); return border; |
Border | getToolBorder() Report a standard tool border entity, which is a raised bevel border if (toolBorder == null) { toolBorder = BorderFactory.createRaisedBevelBorder(); return toolBorder; |
void | setPaddedRaisedBevelBorder(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))); |