Java Platform 1.2

Uses of Class
java.awt.Frame

Packages that use Frame
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 Frame in java.awt
 

Methods in java.awt that return Frame
static Frame[] Frame.getFrames()
          Returns an array containing all Frames created by the application.
 

Methods in java.awt with parameters of type Frame
protected abstract  java.awt.peer.FramePeer Toolkit.createFrame(Frame target)
          Creates this toolkit's implementation of Frame using the specified peer interface.
abstract  PrintJob Toolkit.getPrintJob(Frame frame, String jobtitle, Properties props)
          Gets a PrintJob object which is the result of initiating a print operation on the toolkit's platform.
 

Constructors in java.awt with parameters of type Frame
Window.Window(Frame owner)
          Constructs a new invisible window.
Dialog.Dialog(Frame owner)
          Constructs an initially invisible, non-modal Dialog with an empty title and the specified owner frame.
Dialog.Dialog(Frame owner, boolean modal)
          Constructs an initially invisible Dialog with an empty title, the specified owner frame and modality.
Dialog.Dialog(Frame owner, String title)
          Constructs an initially invisible, non-modal Dialog with the specified owner frame and title.
Dialog.Dialog(Frame owner, String title, boolean modal)
          Constructs an initially invisible Dialog with the specified owner frame, title, and modality.
FileDialog.FileDialog(Frame parent)
          Creates a file dialog for loading a file.
FileDialog.FileDialog(Frame parent, String title)
          Creates a file dialog window with the specified title for loading a file.
FileDialog.FileDialog(Frame parent, String title, int mode)
          Creates a file dialog window with the specified title for loading or saving a file.
 

Uses of Frame in javax.swing
 

Subclasses of Frame in javax.swing
 class JFrame
          An extended version of java.awt.Frame that adds support for interposing input and painting behavior in front of the frame's children (see glassPane), support for special children that are managed by a LayeredPane (see rootPane) and for Swing MenuBars.
 

Methods in javax.swing that return Frame
static Frame JOptionPane.getFrameForComponent(Component parentComponent)
          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.
 

Methods in javax.swing with parameters of type Frame
static void JOptionPane.setRootFrame(Frame newRootFrame)
          Sets the frame to use for class methods in which a frame is not provided.
 

Constructors in javax.swing with parameters of type Frame
JWindow.JWindow(Frame owner)
          Creates a window with the specified owner frame.
JDialog.JDialog(Frame owner)
          Creates a non-modal dialog without a title with the specifed Frame as its owner.
JDialog.JDialog(Frame owner, boolean modal)
          Creates a modal or non-modal dialog without a title and with the specified owner frame.
JDialog.JDialog(Frame owner, String title)
          Creates a non-modal dialog with the specified title and with the specified owner frame.
JDialog.JDialog(Frame owner, String title, boolean modal)
          Creates a modal or non-modal dialog with the specified title and the specified owner frame.
 


Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.