Package java.awt.peer |
![]() Previous |
![]() Java API |
![]() Index |
![]() Next |
public interface java.awt.peer.ButtonPeer extends java.awt.peer.ComponentPeer { // Methods public abstract void setLabel(String label); }
The button peer interface specifies the methods that all implementations of Abstract Window Toolkit buttons must define.
public abstract void setLabel(String label)Changes the button's label to be the String argument.
Parameter Description label the new label, or null for no label
© 1996 Sun Microsystems, Inc. All rights reserved.