Java Swing LineBorder getLineBorder()

Here you can find the source of getLineBorder()

Description

get an outlined border

License

Apache License

Declaration

public static Border getLineBorder() 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.awt.Color;

import javax.swing.BorderFactory;

import javax.swing.border.Border;

public class Main {
    /** get an outlined border */
    public static Border getLineBorder() {
        return BorderFactory.createLineBorder(Color.gray);
    }//w ww . ja  v  a2 s. c  om
}

Related

  1. createPanelBorder()
  2. createThickInsetBorder()
  3. drawBorders(final JPanel panel)
  4. getBorderBlue()
  5. getDefaultLineBorder()
  6. getMandatoryBorder()
  7. getToolTipBorder()
  8. intToBorder(int borderConstant)
  9. isAtScrollPaneRightBorder(Component c, int x)