| 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.
|
| Modifier and Type | Field and Description |
|---|---|
static Dialog |
Dialog.DEFAULT_MODALITY_TYPE
Default modality type for modal dialogs.
|
| Modifier and Type | Method and Description |
|---|---|
Dialog |
Dialog.getModalityType()
Returns the modality type of this dialog.
|
static Dialog |
Dialog.ModalityType.valueOf(String
Returns the enum constant of this type with the specified name.
|
static Dialog |
Dialog.ModalityType.values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
Toolkit.isModalityTypeSupported(Dialog
Returns whether the given modality type is supported by this toolkit.
|
void |
Dialog.setModalityType(Dialog
Sets the modality type for this dialog.
|
| Constructor and Description | |
|---|---|
Dialog(Window
Constructs an initially invisible
Dialog with the specified owner
Window and modality and an empty title.
|
|
Dialog(Window
Constructs an initially invisible
Dialog with the specified owner
Window, title and modality.
|
|
Dialog(Window
Constructs an initially invisible
Dialog with the specified owner
Window, title, modality and
GraphicsConfiguration.
|
| Constructor and Description | |
|---|---|
JDialog(Window
Creates a dialog with an empty title and the specified modality and
Window as its owner.
|
|
JDialog(Window
Creates a dialog with the specified title, owner
Window and modality.
|
|
JDialog(Window
Creates a dialog with the specified title, owner
Window, modality and
GraphicsConfiguration.
|