KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > swingwtx > swing > border > LineBorder


1 /*
2    SwingWT
3    Copyright(c)2003-2004, R. Rawson-Tetley
4
5    For more information on distributing and using this program, please
6    see the accompanying "COPYING" file.
7
8    Contact me by electronic mail: bobintetley@users.sourceforge.net
9
10    $Log: LineBorder.java,v $
11    Revision 1.3 2003/12/14 09:13:38 bobintetley
12    Added CVS log to source headers
13
14 */

15
16 package swingwtx.swing.border;
17
18 import swingwt.awt.*;
19
20 public class LineBorder extends AbstractBorder implements Border {
21     public static Border createBlackLineBorder() { return new LineBorder(Color.BLACK, 1); }
22     public static Border createGrayLineBorder() { return new LineBorder(Color.GRAY, 1); }
23     public LineBorder(Color color) {}
24     public LineBorder(Color color, int thickness) {}
25     public LineBorder(Color color, int thickness, boolean roundedCorners) {}
26 }
27
Popular Tags