All About INTERFACE DialogPeer in AWT in Java


The DialogPeer Interface specifies the methods that all implementations of Abstract Window Toolkit must define while working with Dialog window.
The structure of interface DialogPeer is given as:

public interface java.awt.peer.DialogPeer extends java.awt.peer.WindowPeer{
//Methods
public abstract void setResizeable(boolean resizeable);
//sets the resizeable flag
public abstract void setTitle(String title);
//sets the title of the dialog window
}
 
All About INTERFACE DialogPeer in AWT in Java All About INTERFACE DialogPeer in AWT in Java Reviewed by Animesh Chatterjee on November 02, 2018 Rating: 5

No comments:

Powered by Blogger.