KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > swingwt > awt > Label


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: Label.java,v $
11    Revision 1.5 2004/03/21 17:22:53 bobintetley
12    Compatibility methods for awt Graphics, List and Label. Dummy Applet implementation
13
14    Revision 1.4 2004/01/15 10:11:14 bobintetley
15    Fixed AWT constructors/hierarchy
16
17    Revision 1.3 2003/12/14 09:13:38 bobintetley
18    Added CVS log to source headers
19
20 */

21
22 package swingwt.awt;
23
24 public class Label extends swingwtx.swing.JLabel {
25     public final static int CENTER = swingwtx.swing.JLabel.CENTER;
26     public final static int LEFT = swingwtx.swing.JLabel.LEFT;
27     public final static int RIGHT = swingwtx.swing.JLabel.RIGHT;
28     public Label() { super(); }
29     public Label(String JavaDoc text) { super(text); }
30     public Label(String JavaDoc text, int align) { super(text); super.setHorizontalAlignment(align); }
31 }
32
Popular Tags