[Chapter 23] java.awt.peer Reference
Author: John Zukowski
Date: Thu Jul 31 15:27:59 1997

#

| Chapter 23 |

# 23. java.awt.peer Reference

Contents:
Select a new section and then

# ButtonPeer

## Name

ButtonPeer

##

## Description

`ButtonPeer` is an interface that defines the basis for buttons.

## Interface Definition

    public abstract interface java.awt.peer.ButtonPeer
    extends java.awt.peer.ComponentPeer {
      // Interface Methods
      public abstract void setLabel (String label);
    }

## Interface Methods

### setLabel

#### public abstract void setLabel (String label)

Parameters

  label

    New text for label of button's peer.

Description

  Changes the text of the label of button's peer.

## See Also

`ComponentPeer`, `String`

WindowPeer |  |