#

| Chapter 22 The java.awt.peer Package |

## 22.12 java.awt.peer.LabelPeer (JDK 1.0)

###

    public abstract interface LabelPeer extends ComponentPeer {
        // Public Instance Methods
                public abstract void setAlignment(int alignment);
                public abstract void setText(String label);
    }

### Returned By:

Toolkit.createLabel()

java.awt.peer.FramePeer (JDK 1.0) |  | java.awt.peer.LightweightPeer (JDK 1.1)