Packages  This Package  Prev  Next  Index  

§3.8 Interface DialogPeer

The dialog window peer interface specifies the methods that all implementations of Abstract Window Toolkit dialog windows must define.

public  interface  java.awt.peer.DialogPeer
    extends java.awt.peer.WindowPeer  (II-§3.22)
{
        // Methods
    public abstract void setResizable(boolean  resizeable);	§3.8.1
    public abstract void setTitle(String  title);	§3.8.2
}

Methods

setResizable

public abstract void setResizable(boolean resizeable)
Sets the resizable flag.
Parameters:
resizable - true if the dialog window is resizable; false otherwise

setTitle

public abstract void setTitle(String title)
Sets the title of the dialog window.
Parameters:
title - the new title

Packages  This Package  Prev  Next  Index
Java API Document (HTML generated by dkramer on April 22, 1996)
Copyright © 1996 Sun Microsystems, Inc. All rights reserved
Please send any comments or corrections to doug.kramer@sun.com