Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.awt.Label

Availability: JDK 1.0

public class Label extends Component {
   // Public Constructors
      public Label();
      public Label(String text);
      public Label(String text, int alignment);
   // Constants
      public static final int CENTER;
      public static final int LEFT;
      public static final int RIGHT;
   // Public Instance Methods
      public void addNotify();  // Overrides Component.addNotify()
      public int getAlignment();
      public String getText();
      public synchronized void setAlignment(int alignment);
      public synchronized void setText(String text);
   // Protected Instance Methods
      protected String paramString();  // Overrides Component.paramString()
}
Passed To:
Toolkit.createLabel().

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.