Dialog.Dialog

Dialog.Dialog

Class Overview | Class Members | This Package | All Packages

Syntax 1
public Dialog( Frame parent )
Parameters
parent
the owner of the dialog
Description
Constructs an initially invisible Dialog with an empty title.

See Also
setSize, setVisible



Syntax 2
public Dialog( Frame parent, boolean modal )
Parameters
parent
the owner of the dialog
modal
if true, dialog blocks input to the parent window when shown
Description
Constructs an initially invisible Dialog with an empty title. A modal Dialog grabs all the input to the parent frame from the user.



Syntax 3
public Dialog( Frame parent, String title )
Parameters
parent
the owner of the dialog
title
the title of the dialog
Description
Constructs an initially invisible Dialog with a title.

See Also
setSize, setVisible



Syntax 4
public Dialog( Frame parent, String title, boolean modal )
Parameters
parent
the owner of the dialog
title
the title of the dialog
modal
if true, dialog blocks input to the parent window when shown
Description
Constructs an initially invisible Dialog with a title. A modal Dialog grabs all the input to the parent frame from the user.

See Also
setSize, setVisible