Java Swing LineBorder createLineBorder()

Here you can find the source of createLineBorder()

Description

create Line Border

License

Open Source License

Declaration

public static Border createLineBorder() 

Method Source Code


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

import java.awt.Color;

import javax.swing.BorderFactory;

import javax.swing.border.Border;

public class Main {
    private static Border lineBorder = BorderFactory.createLineBorder(Color.BLUE, 3);

    public static Border createLineBorder() {
        return lineBorder;
    }/*w  ww .  jav a  2s  .  co  m*/
}

Related

  1. addBordersToLine(Component content)
  2. addDebugBorders(JPanel panel)
  3. changeBorder(JComponent field, Object fieldValue, PropertyChangeEvent e)
  4. createDebugBorder()
  5. createPanelBorder()
  6. createThickInsetBorder()
  7. drawBorders(final JPanel panel)
  8. getBorderBlue()