All About INTERFACE ButtonPeer in AWT in Java

The ButtonPeer Interface specifies the methods that all implementations of Abstract Window Toolkit must define while working with Window.
The architecture of the interface ButtonPeer is given as :


public interface java.awt.peer.ButtonPeer extends java.awt.peer.ContainerePeer{
//methods:
public abstract void setLabel(String label);
//changes the button's label to the String argument
} 
All About INTERFACE ButtonPeer in AWT in Java All About INTERFACE ButtonPeer in AWT in Java Reviewed by Animesh Chatterjee on October 29, 2018 Rating: 5

No comments:

Powered by Blogger.