Java javax.swing.border LineBorder fields, constructors, methods, implement or subclass

Example usage for Java javax.swing.border LineBorder fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.swing.border LineBorder.

The text is from its open source code.

Constructor

LineBorder(Color color)
Creates a line border with the specified color and a thickness = 1.
LineBorder(Color color, int thickness)
Creates a line border with the specified color and thickness.
LineBorder(Color color, int thickness, boolean roundedCorners)
Creates a line border with the specified color, thickness, and corner shape.

Method

BordercreateBlackLineBorder()
Convenience method for getting the Color.black LineBorder of thickness 1.
BordercreateGrayLineBorder()
Convenience method for getting the Color.gray LineBorder of thickness 1.