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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BorderFactory
public BorderFactory()
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(java.lang.String title)