Uses of Class
java.awt.Frame
Packages that use Frame
Package
Description
Contains all of the classes for creating user interfaces and for painting
graphics and images.
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
Modifier and TypeMethodDescriptionstatic Frame[]Frame.getFrames()Returns an array of allFrames created by this application.Modifier and TypeMethodDescriptionToolkit.getPrintJob(Frame frame, String jobtitle, JobAttributes jobAttributes, PageAttributes pageAttributes) Gets aPrintJobobject which is the result of initiating a print operation on the toolkit's platform.abstract PrintJobToolkit.getPrintJob(Frame frame, String jobtitle, Properties props) Gets aPrintJobobject which is the result of initiating a print operation on the toolkit's platform.ModifierConstructorDescriptionConstructs an initially invisible, modelessDialogwith the specified ownerFrameand an empty title.Constructs an initially invisibleDialogwith the specified ownerFrameand modality and an empty title.Constructs an initially invisible, modelessDialogwith the specified ownerFrameand title.Constructs an initially invisibleDialogwith the specified ownerFrame, title and modality.Dialog(Frame owner, String title, boolean modal, GraphicsConfiguration gc) Constructs an initially invisibleDialogwith the specified ownerFrame, title, modality, andGraphicsConfiguration.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.Constructs a new, initially invisible window with the specifiedFrameas its owner. -
Uses of Frame in javax.swing
Subclasses of Frame in javax.swingModifier and TypeClassDescriptionclassAn extended version ofjava.awt.Framethat adds support for the JFC/Swing component architecture.Methods in javax.swing that return FrameModifier and TypeMethodDescriptionstatic FrameJOptionPane.getFrameForComponent(Component parentComponent) Returns the specified component'sFrame.static FrameJOptionPane.getRootFrame()Returns theFrameto use for the class methods in which a frame is not provided.Methods in javax.swing with parameters of type FrameModifier and TypeMethodDescriptionstatic voidJOptionPane.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 FrameModifierConstructorDescriptionCreates a modeless dialog with the specifiedFrameas its owner and an empty title.Creates a dialog with an empty title and the specified modality andFrameas its owner.Creates a modeless dialog with the specified title and with the specified owner frame.Creates a dialog with the specified title, ownerFrameand modality.JDialog(Frame owner, String title, boolean modal, GraphicsConfiguration gc) Creates a dialog with the specified title, ownerFrame, modality andGraphicsConfiguration.Creates a window with the specified owner frame.