| 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 | Method and Description |
|---|---|
static Frame |
Frame.getFrames()
Returns an array of all
Frames created by this application.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract java |
Toolkit.createFrame(Frame
Creates this toolkit's implementation of
Frame using the specified peer interface.
|
PrintJob |
Toolkit.getPrintJob(Frame
Gets a
PrintJob object which is the result of initiating a print operation on the toolkit's platform.
|
abstract PrintJob |
Toolkit.getPrintJob(Frame
Gets a
PrintJob object which is the result of initiating a print operation on the toolkit's platform.
|
| Constructor and Description | |
|---|---|
Dialog(Frame
Constructs an initially invisible, modeless
Dialog with the specified owner
Frame and an empty title.
|
|
Dialog(Frame
Constructs an initially invisible
Dialog with the specified owner
Frame and modality and an empty title.
|
|
Dialog(Frame
Constructs an initially invisible, modeless
Dialog with the specified owner
Frame and title.
|
|
Dialog(Frame
Constructs an initially invisible
Dialog with the specified owner
Frame, title and modality.
|
|
Dialog(Frame
Constructs an initially invisible
Dialog with the specified owner
Frame, title, modality, and
GraphicsConfiguration.
|
|
FileDialog(Frame
Creates a file dialog for loading a file.
|
|
FileDialog(Frame
Creates a file dialog window with the specified title for loading a file.
|
|
FileDialog(Frame
Creates a file dialog window with the specified title for loading or saving a file.
|
|
Window(Frame
Constructs a new, initially invisible window with the specified
Frame as its owner.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JFrame
An extended version of
java.awt.Frame that adds support for the JFC/Swing component architecture.
|
| Modifier and Type | Method and Description |
|---|---|
static Frame |
JOptionPane.getFrameForComponent(Component
Returns the specified component's
Frame.
|
static Frame |
JOptionPane.getRootFrame()
Returns the
Frame to use for the class methods in which a frame is not provided.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
JOptionPane.setRootFrame(Frame
Sets the frame to use for class methods in which a frame is not provided.
|
| Constructor and Description | |
|---|---|
JDialog(Frame
Creates a modeless dialog with the specified
Frame as its owner and an empty title.
|
|
JDialog(Frame
Creates a dialog with an empty title and the specified modality and
Frame as its owner.
|
|
JDialog(Frame
Creates a modeless dialog with the specified title and with the specified owner frame.
|
|
JDialog(Frame
Creates a dialog with the specified title, owner
Frame and modality.
|
|
JDialog(Frame
Creates a dialog with the specified title, owner
Frame, modality and
GraphicsConfiguration.
|
|
JWindow(Frame
Creates a window with the specified owner frame.
|