charvax.swing
Class BorderFactory
java.lang.Object
charvax.swing.BorderFactory
public class BorderFactory
extends java.lang.Object
A factory class for creating standard instances of the Border class. In the
genuine Swing library, this tries to share instances wherever possible.
In the Charva library, all the borders (except TitleBorders) are actually
just LineBorders.
createLineBorder
public static Border createLineBorder(Color color_)
createLineBorder
public static Border createLineBorder(Color color_,
int thickness_)
Create a LineBorder - ignore the thickness.
createTitledBorder
public static TitledBorder createTitledBorder(String title)