Java Swing Bevel Border createWidgetBorder()

Here you can find the source of createWidgetBorder()

Description

create Widget Border

License

Open Source License

Declaration

public static javax.swing.border.Border createWidgetBorder() 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    private static final javax.swing.border.Border WIDGET_BORDER = javax.swing.BorderFactory.createCompoundBorder(
            javax.swing.BorderFactory.createMatteBorder(1, 1, 0, 0, java.awt.Color.GRAY),
            javax.swing.BorderFactory.createRaisedBevelBorder());

    public static javax.swing.border.Border createWidgetBorder() {
        return WIDGET_BORDER;
    }//from ww w  .  j ava2s . co  m
}

Related

  1. border1(JComponent component)
  2. createBevelBorder(int type)
  3. createCompoundBevelBorder()
  4. getDefaultBorder()
  5. getNativeLoweredBorder()
  6. getToolBorder()
  7. setPaddedRaisedBevelBorder(JComponent component, int top, int left, int bottom, int right)