Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Uses of Class
java.awt.Frame

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

Methods in java.awt that return Frame
Modifier and Type Method and Description
static Frame[] Frame.getFrames()
          Returns an array of all Frames created by this application.
 

Methods in java.awt with parameters of type Frame
Modifier and Type Method and Description
protected abstract  java.awt.peer.FramePeer Toolkit.createFrame(Frame target)
          Creates this toolkit's implementation of Frame using the specified peer interface.
 PrintJob Toolkit.getPrintJob(Frame frame, String jobtitle, JobAttributes jobAttributes, PageAttributes pageAttributes)
          Gets a PrintJob object which is the result of initiating a print operation on the toolkit's platform.
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
Constructor and Description
Dialog(Frame owner)
          Constructs an initially invisible, modeless Dialog with the specified owner Frame and an empty title.
Dialog(Frame owner, boolean modal)
          Constructs an initially invisible Dialog with the specified owner Frame and modality and an empty title.
Dialog(Frame owner, String title)
          Constructs an initially invisible, modeless Dialog with the specified owner Frame and title.
Dialog(Frame owner, String title, boolean modal)
          Constructs an initially invisible Dialog with the specified owner Frame, title and modality.
Dialog(Frame owner, String title, boolean modal, GraphicsConfiguration gc)
          Constructs an initially invisible Dialog with the specified owner Frame, title, modality, and GraphicsConfiguration.
FileDialog(Frame parent)
          Creates a file dialog for loading a file.
FileDialog(Frame parent, String title)
          Creates a file dialog window with the specified title for loading a file.
FileDialog(Frame parent, String title, int mode)
          Creates a file dialog window with the specified title for loading or saving a file.
Window(Frame owner)
          Constructs a new, initially invisible window with the specified Frame as its owner.
 

Uses of Frame in javax.swing
 

Subclasses of Frame in javax.swing
Modifier and Type Class and Description
 class JFrame
          An extended version of java.awt.Frame that adds support for the JFC/Swing component architecture.
 

Methods in javax.swing that return Frame
Modifier and Type Method and Description
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
Modifier and Type Method and Description
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
Constructor and Description
JDialog(Frame owner)
          Creates a modeless dialog without a title with the specified Frame as its owner.
JDialog(Frame owner, boolean modal)
          Creates a dialog with the specified owner Frame, modality and an empty title.
JDialog(Frame owner, String title)
          Creates a modeless dialog with the specified title and with the specified owner frame.
JDialog(Frame owner, String title, boolean modal)
          Creates a dialog with the specified title, owner Frame and modality.
JDialog(Frame owner, String title, boolean modal, GraphicsConfiguration gc)
          Creates a dialog with the specified title, owner Frame, modality and GraphicsConfiguration.
JWindow(Frame owner)
          Creates a window with the specified owner frame.
 


Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.