Uses of Class
java.awt.Dialog
Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user interfaces and for painting
graphics and images.
|
javax.swing |
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
|
-
Uses of Dialog in java.awt
Subclasses of Dialog in java.awt Modifier and Type Class Description class
FileDialog
TheFileDialog
class displays a dialog window from which the user can select a file.Constructors in java.awt with parameters of type Dialog Constructor Description Dialog(Dialog owner)
Constructs an initially invisible, modelessDialog
with the specified ownerDialog
and an empty title.Dialog(Dialog owner, String title)
Constructs an initially invisible, modelessDialog
with the specified ownerDialog
and title.Dialog(Dialog owner, String title, boolean modal)
Constructs an initially invisibleDialog
with the specified ownerDialog
, title, and modality.Dialog(Dialog owner, String title, boolean modal, GraphicsConfiguration gc)
Constructs an initially invisibleDialog
with the specified ownerDialog
, title, modality andGraphicsConfiguration
.FileDialog(Dialog parent)
Creates a file dialog for loading a file.FileDialog(Dialog parent, String title)
Creates a file dialog window with the specified title for loading a file.FileDialog(Dialog parent, String title, int mode)
Creates a file dialog window with the specified title for loading or saving a file. -
Uses of Dialog in javax.swing
Subclasses of Dialog in javax.swing Modifier and Type Class Description class
JDialog
The main class for creating a dialog window.Constructors in javax.swing with parameters of type Dialog Constructor Description JDialog(Dialog owner)
Creates a modeless dialog with the specifiedDialog
as its owner and an empty title.JDialog(Dialog owner, boolean modal)
Creates a dialog with an empty title and the specified modality andDialog
as its owner.JDialog(Dialog owner, String title)
Creates a modeless dialog with the specified title and with the specified owner dialog.JDialog(Dialog owner, String title, boolean modal)
Creates a dialog with the specified title, modality and the specified ownerDialog
.JDialog(Dialog owner, String title, boolean modal, GraphicsConfiguration gc)
Creates a dialog with the specified title, ownerDialog
, modality andGraphicsConfiguration
.