BorderFactory
Class BorderFactory
- java.lang.Object
-
- javax.swing.BorderFactory
public class BorderFactory extends Object
Factory class for vending standard Border
objects. Wherever possible, this factory will hand out references to shared Border
instances. For further information and examples see How to Use Borders, a section in The Java Tutorial.
Methods
createLineBorder
public static Border createLineBorder(Color color)
Creates a line border withe the specified color.
- Parameters: