<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue Jun 29 05:55:59 GMT+01:00 1999 -->
<TITLE>
Swing 1.1 API Specification: Class  JFrame
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" ID="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" ID="NavBarCell1Rev"> &nbsp;<FONT ID="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="class-use/JFrame.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Swing 1.1</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../javax/swing/JFileChooser.AccessibleJFileChooser.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/JFrame.AccessibleJFrame.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="JFrame.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;<A HREF="#inner_class_summary">INNER</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
javax.swing</FONT>
<BR>
Class  JFrame</H2>
<PRE>
java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Frame
                          |
                          +--<B>javax.swing.JFrame</B>
</PRE>
<HR>
<DL>
<DT>public class <B>JFrame</B><DT>extends java.awt.Frame<DT>implements <A HREF="../../javax/swing/WindowConstants.html">WindowConstants</A>, <A HREF="../../javax/accessibility/Accessible.html">Accessible</A>, <A HREF="../../javax/swing/RootPaneContainer.html">RootPaneContainer</A></DL>

<P>
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.
 <p>
 The JFrame class is slightly incompatible with java.awt.Frame.
 JFrame contains a JRootPane as it's only child.
 The <b>contentPane</b> should be the parent of any children of the JFrame.
 This is different than java.awt.Frame, e.g. to add a child to 
 an AWT Frame you'd write:
 <pre>
       frame.add(child);
 </pre>
 However using JFrame you need to add the child to the JFrames contentPane
 instead:
 <pre>
       frame.getContentPane().add(child);
 </pre>
 The same is true for setting LayoutManagers, removing components,
 listing children, etc. All these methods should normally be sent to
 the contentPane() instead of the JFrame itself. The contentPane() will
 always be non-null. Attempting to set it to null will cause the JFrame
 to throw an exception. The default contentPane() will have a BorderLayout
 manager set on it. 
 <p>
 Please see the JRootPane documentation for a complete description of
 the contentPane, glassPane, and layeredPane properties.
 <p>
 Unlike its parent class, java.awt.Frame, you can tell a JFrame how to 
 respond when the user attempts to close the window. The default behavior
 is to simply hide the JFrame when the user closes the window. To change the
 default behavior, you invoke the method <code>setDefaultCloseOperation</code>.
 To make the JFrame remain open unless you handle the window-closing event and 
 explicitly invoke <code>dispose()</code> (or exit the app, which is also pretty
 effective), use
 <code>setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE)</code>.
 That makes the JFrame behave the same as java.awt.Frame. A third option
 lets you completely dispose of the window when it closes, instead of merely 
 hiding it. 
 <p>
 For the keyboard keys used by this component in the standard Look and
 Feel (L&F) renditions, see the
 <a href="doc-files/Key-Index.html#JFrame">JFrame</a> key assignments.
 <p>
 <strong>Warning:</strong>
 Serialized objects of this class will not be compatible with 
 future Swing releases.  The current serialization support is appropriate
 for short term storage or RMI between applications running the same
 version of Swing.  A future release of Swing will provide support for
 long term persistence.
<P>
<DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JRootPane.html"><CODE>JRootPane</CODE></A>, 
<A HREF="../../javax/swing/JFrame.html#setDefaultCloseOperation(int)"><CODE>setDefaultCloseOperation(int)</CODE></A>, 
<CODE>WindowListener.windowClosing(java.awt.event.WindowEvent)</CODE>, <A HREF="../../serialized-form.html#javax.swing.JFrame">Serialized Form</A></DL>
<HR>

<P>
<!-- ======== INNER CLASS SUMMARY ======== -->

<A NAME="inner_class_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Inner Class Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JFrame.AccessibleJFrame.html">JFrame.AccessibleJFrame</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The class used to obtain the AccessibleRole for this object.</TD>
</TR>
</TABLE>
&nbsp;
<!-- =========== FIELD SUMMARY =========== -->

<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../javax/accessibility/AccessibleContext.html">AccessibleContext</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JFrame.html#accessibleContext">accessibleContext</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The accessible context property</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../javax/swing/JRootPane.html">JRootPane</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JFrame.html#rootPane">rootPane</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The JRootPane instance that manages the <code>contentPane</code> 
 and optional <code>menuBar</code> for this frame, as well as the 
 <code>glassPane</code>.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JFrame.html#rootPaneCheckingEnabled">rootPaneCheckingEnabled</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If true then calls to <code>add</code> and <code>setLayout</code>
 cause an exception to be thrown.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_java.awt.Frame"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Fields inherited from class java.awt.Frame</B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE>CROSSHAIR_CURSOR,  
DEFAULT_CURSOR,  
E_RESIZE_CURSOR,  
HAND_CURSOR,  
MOVE_CURSOR,  
N_RESIZE_CURSOR,  
NE_RESIZE_CURSOR,  
NW_RESIZE_CURSOR,  
S_RESIZE_CURSOR,  
SE_RESIZE_CURSOR,  
SW_RESIZE_CURSOR,  
TEXT_CURSOR,  
W_RESIZE_CURSOR,  
WAIT_CURSOR</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_java.awt.Component"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Fields inherited from class java.awt.Component</B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE>BOTTOM_ALIGNMENT,  
CENTER_ALIGNMENT,  
LEFT_ALIGNMENT,  
RIGHT_ALIGNMENT,  
TOP_ALIGNMENT</CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JFrame.html#JFrame()">JFrame</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new Frame that is initially invisible.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JFrame.html#JFrame(java.lang.String)">JFrame</A></B>(java.lang.String&nbsp;title)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new, initially invisible Frame with the specified
 title.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JFrame.html#addImpl(java.awt.Component, java.lang.Object, int)">addImpl</A></B>(java.awt.Component&nbsp;comp,
        java.lang.Object&nbsp;constraints,
        int&nbsp;index)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;By default, children may not be added directly to a this component,
 they must be added to its contentPane instead.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../javax/swing/JRootPane.html">JRootPane</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JFrame.html#createRootPane()">createRootPane</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Called by the constructor methods to create the default rootPane.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JFrame.html#frameInit()">frameInit</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Called by the constructors to init the JFrame properly.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../javax/accessibility/AccessibleContext.html">AccessibleContext</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JFrame.html#getAccessibleContext()">getAccessibleContext</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the AccessibleContext associated with this JFrame</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Container</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JFrame.html#getContentPane()">getContentPane</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the contentPane object for this frame.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JFrame.html#getDefaultCloseOperation()">getDefaultCloseOperation</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the operation which occurs when the user
 initiates a "close" on this frame.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Component</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JFrame.html#getGlassPane()">getGlassPane</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the glassPane object for this frame.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../javax/swing/JMenuBar.html">JMenuBar</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JFrame.html#getJMenuBar()">getJMenuBar</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the menubar set on this frame.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../javax/swing/JLayeredPane.html">JLayeredPane</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JFrame.html#getLayeredPane()">getLayeredPane</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the layeredPane object for this frame.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../javax/swing/JRootPane.html">JRootPane</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JFrame.html#getRootPane()">getRootPane</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the rootPane object for this frame.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JFrame.html#isRootPaneCheckingEnabled()">isRootPaneCheckingEnabled</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether calls to <code>add</code> and 
 <code>setLayout</code> cause an exception to be thrown.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JFrame.html#paramString()">paramString</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string representation of this JFrame.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JFrame.html#processKeyEvent(java.awt.event.KeyEvent)">processKeyEvent</A></B>(java.awt.event.KeyEvent&nbsp;e)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Processes key events occurring on this component and, if appropriate,
 passes them on to components in the frame which have registered 
 interest in them.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JFrame.html#processWindowEvent(java.awt.event.WindowEvent)">processWindowEvent</A></B>(java.awt.event.WindowEvent&nbsp;e)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Processes window events occurring on this component.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JFrame.html#setContentPane(java.awt.Container)">setContentPane</A></B>(java.awt.Container&nbsp;contentPane)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the contentPane property.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JFrame.html#setDefaultCloseOperation(int)">setDefaultCloseOperation</A></B>(int&nbsp;operation)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the operation which will happen by default when
 the user initiates a "close" on this frame.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JFrame.html#setGlassPane(java.awt.Component)">setGlassPane</A></B>(java.awt.Component&nbsp;glassPane)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the glassPane property.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JFrame.html#setJMenuBar(javax.swing.JMenuBar)">setJMenuBar</A></B>(<A HREF="../../javax/swing/JMenuBar.html">JMenuBar</A>&nbsp;menubar)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the menubar for this frame.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JFrame.html#setLayeredPane(javax.swing.JLayeredPane)">setLayeredPane</A></B>(<A HREF="../../javax/swing/JLayeredPane.html">JLayeredPane</A>&nbsp;layeredPane)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the layeredPane property.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JFrame.html#setLayout(java.awt.LayoutManager)">setLayout</A></B>(java.awt.LayoutManager&nbsp;manager)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;By default the layout of this component may not be set,
 the layout of its contentPane should be set instead.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JFrame.html#setRootPane(javax.swing.JRootPane)">setRootPane</A></B>(<A HREF="../../javax/swing/JRootPane.html">JRootPane</A>&nbsp;root)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the rootPane property.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JFrame.html#setRootPaneCheckingEnabled(boolean)">setRootPaneCheckingEnabled</A></B>(boolean&nbsp;enabled)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines whether calls to <code>add</code> and 
 <code>setLayout</code> cause an exception to be thrown.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JFrame.html#update(java.awt.Graphics)">update</A></B>(java.awt.Graphics&nbsp;g)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Just calls <code>paint(g)</code>.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.awt.Frame"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class java.awt.Frame</B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE>addNotify, 
dispose, 
getCursorType, 
getIconImage, 
getMenuBar, 
getTitle, 
isResizable, 
remove, 
setCursor, 
setIconImage, 
setMenuBar, 
setResizable, 
setTitle</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.awt.Window"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class java.awt.Window</B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE>addWindowListener, 
getFocusOwner, 
getLocale, 
getToolkit, 
getWarningString, 
isShowing, 
pack, 
postEvent, 
processEvent, 
removeWindowListener, 
show, 
toBack, 
toFront</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.awt.Container"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class java.awt.Container</B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE>add, 
add, 
add, 
add, 
add, 
addContainerListener, 
countComponents, 
deliverEvent, 
doLayout, 
getAlignmentX, 
getAlignmentY, 
getComponent, 
getComponentAt, 
getComponentAt, 
getComponentCount, 
getComponents, 
getInsets, 
getLayout, 
getMaximumSize, 
getMinimumSize, 
getPreferredSize, 
insets, 
invalidate, 
isAncestorOf, 
layout, 
list, 
list, 
locate, 
minimumSize, 
paint, 
paintComponents, 
preferredSize, 
print, 
printComponents, 
processContainerEvent, 
remove, 
remove, 
removeAll, 
removeContainerListener, 
removeNotify, 
validate, 
validateTree</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.awt.Component"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class java.awt.Component</B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE>action, 
add, 
addComponentListener, 
addFocusListener, 
addKeyListener, 
addMouseListener, 
addMouseMotionListener, 
bounds, 
checkImage, 
checkImage, 
contains, 
contains, 
createImage, 
createImage, 
disable, 
disableEvents, 
dispatchEvent, 
enable, 
enable, 
enableEvents, 
getBackground, 
getBounds, 
getColorModel, 
getCursor, 
getFont, 
getFontMetrics, 
getForeground, 
getGraphics, 
getLocation, 
getLocationOnScreen, 
getName, 
getParent, 
getPeer, 
getSize, 
getTreeLock, 
gotFocus, 
handleEvent, 
hide, 
imageUpdate, 
inside, 
isEnabled, 
isFocusTraversable, 
isValid, 
isVisible, 
keyDown, 
keyUp, 
list, 
list, 
list, 
location, 
lostFocus, 
mouseDown, 
mouseDrag, 
mouseEnter, 
mouseExit, 
mouseMove, 
mouseUp, 
move, 
nextFocus, 
paintAll, 
prepareImage, 
prepareImage, 
printAll, 
processComponentEvent, 
processFocusEvent, 
processMouseEvent, 
processMouseMotionEvent, 
removeComponentListener, 
removeFocusListener, 
removeKeyListener, 
removeMouseListener, 
removeMouseMotionListener, 
repaint, 
repaint, 
repaint, 
repaint, 
requestFocus, 
reshape, 
resize, 
resize, 
setBackground, 
setBounds, 
setBounds, 
setCursor, 
setEnabled, 
setFont, 
setForeground, 
setLocale, 
setLocation, 
setLocation, 
setName, 
setSize, 
setSize, 
setVisible, 
show, 
size, 
toString, 
transferFocus</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE>clone, 
equals, 
finalize, 
getClass, 
hashCode, 
notify, 
notifyAll, 
wait, 
wait, 
wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->

<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="rootPane"><!-- --></A><H3>
rootPane</H3>
<PRE>
protected <A HREF="../../javax/swing/JRootPane.html">JRootPane</A> <B>rootPane</B></PRE>
<DL>
<DD>The JRootPane instance that manages the <code>contentPane</code> 
 and optional <code>menuBar</code> for this frame, as well as the 
 <code>glassPane</code>.<DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JRootPane.html"><CODE>JRootPane</CODE></A>, 
<A HREF="../../javax/swing/RootPaneContainer.html"><CODE>RootPaneContainer</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="rootPaneCheckingEnabled"><!-- --></A><H3>
rootPaneCheckingEnabled</H3>
<PRE>
protected boolean <B>rootPaneCheckingEnabled</B></PRE>
<DL>
<DD>If true then calls to <code>add</code> and <code>setLayout</code>
 cause an exception to be thrown.<DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JFrame.html#isRootPaneCheckingEnabled()"><CODE>isRootPaneCheckingEnabled()</CODE></A>, 
<A HREF="../../javax/swing/JFrame.html#setRootPaneCheckingEnabled(boolean)"><CODE>setRootPaneCheckingEnabled(boolean)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="accessibleContext"><!-- --></A><H3>
accessibleContext</H3>
<PRE>
protected <A HREF="../../javax/accessibility/AccessibleContext.html">AccessibleContext</A> <B>accessibleContext</B></PRE>
<DL>
<DD>The accessible context property</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="JFrame()"><!-- --></A><H3>
JFrame</H3>
<PRE>
public <B>JFrame</B>()</PRE>
<DL>
<DD>Constructs a new Frame that is initially invisible.<DD><DL>
<DT><B>See Also: </B><DD><CODE>Component.setSize(int, int)</CODE>, 
<CODE>Component.setVisible(boolean)</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="JFrame(java.lang.String)"><!-- --></A><H3>
JFrame</H3>
<PRE>
public <B>JFrame</B>(java.lang.String&nbsp;title)</PRE>
<DL>
<DD>Constructs a new, initially invisible Frame with the specified
 title.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>title</CODE> - the title for the frame<DT><B>See Also: </B><DD><CODE>Component.setSize(int, int)</CODE>, 
<CODE>Component.setVisible(boolean)</CODE></DL>
</DD>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="frameInit()"><!-- --></A><H3>
frameInit</H3>
<PRE>
protected void <B>frameInit</B>()</PRE>
<DL>
<DD>Called by the constructors to init the JFrame properly.<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="createRootPane()"><!-- --></A><H3>
createRootPane</H3>
<PRE>
protected <A HREF="../../javax/swing/JRootPane.html">JRootPane</A> <B>createRootPane</B>()</PRE>
<DL>
<DD>Called by the constructor methods to create the default rootPane.<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="processKeyEvent(java.awt.event.KeyEvent)"><!-- --></A><H3>
processKeyEvent</H3>
<PRE>
protected void <B>processKeyEvent</B>(java.awt.event.KeyEvent&nbsp;e)</PRE>
<DL>
<DD>Processes key events occurring on this component and, if appropriate,
 passes them on to components in the frame which have registered 
 interest in them.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>e</CODE> - the key event<DT><B>Overrides:</B><DD>processKeyEvent in class java.awt.Component<DT><B>See Also: </B><DD><CODE>Component.processKeyEvent(java.awt.event.KeyEvent)</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="processWindowEvent(java.awt.event.WindowEvent)"><!-- --></A><H3>
processWindowEvent</H3>
<PRE>
protected void <B>processWindowEvent</B>(java.awt.event.WindowEvent&nbsp;e)</PRE>
<DL>
<DD>Processes window events occurring on this component.
 Hides the window or disposes of it, as specified by the setting
 of the <code>defaultCloseOperation</code> property.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>e</CODE> - the window event<DT><B>Overrides:</B><DD>processWindowEvent in class java.awt.Window<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JFrame.html#setDefaultCloseOperation(int)"><CODE>setDefaultCloseOperation(int)</CODE></A>, 
<CODE>Window.processWindowEvent(java.awt.event.WindowEvent)</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setDefaultCloseOperation(int)"><!-- --></A><H3>
setDefaultCloseOperation</H3>
<PRE>
public void <B>setDefaultCloseOperation</B>(int&nbsp;operation)</PRE>
<DL>
<DD>Sets the operation which will happen by default when
 the user initiates a "close" on this frame.
 The possible choices are defined in the <code>WindowConstants</code>
 interface:
 <p>
 <ul>
 <li>DO_NOTHING_ON_CLOSE - do not do anything - require the
 program to handle the operation in the windowClosing
 method of a registered WindowListener object.
 <li>HIDE_ON_CLOSE - automatically hide the frame after
 invoking any registered WindowListener objects
 <li>DISPOSE_ON_CLOSE - automatically hide and dispose the 
 frame after invoking any registered WindowListener objects
 </ul>
 <p>
 The value is set to HIDE_ON_CLOSE by default.<DD><DL>
<DT><B>See Also: </B><DD><CODE>Window.addWindowListener(java.awt.event.WindowListener)</CODE>, 
<A HREF="../../javax/swing/JFrame.html#getDefaultCloseOperation()"><CODE>getDefaultCloseOperation()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getDefaultCloseOperation()"><!-- --></A><H3>
getDefaultCloseOperation</H3>
<PRE>
public int <B>getDefaultCloseOperation</B>()</PRE>
<DL>
<DD>Returns the operation which occurs when the user
 initiates a "close" on this frame.<DD><DL>
<DT><B>Returns:</B><DD>an int indicating the window-close operation<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JFrame.html#setDefaultCloseOperation(int)"><CODE>setDefaultCloseOperation(int)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="update(java.awt.Graphics)"><!-- --></A><H3>
update</H3>
<PRE>
public void <B>update</B>(java.awt.Graphics&nbsp;g)</PRE>
<DL>
<DD>Just calls <code>paint(g)</code>.  This method was overridden to 
 prevent an unneccessary call to clear the background.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>g</CODE> - the Graphics context in which to paint<DT><B>Overrides:</B><DD>update in class java.awt.Container</DL>
</DD>
</DL>
<HR>

<A NAME="setJMenuBar(javax.swing.JMenuBar)"><!-- --></A><H3>
setJMenuBar</H3>
<PRE>
public void <B>setJMenuBar</B>(<A HREF="../../javax/swing/JMenuBar.html">JMenuBar</A>&nbsp;menubar)</PRE>
<DL>
<DD>Sets the menubar for this frame.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>menubar</CODE> - the menubar being placed in the frame<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JFrame.html#getJMenuBar()"><CODE>getJMenuBar()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getJMenuBar()"><!-- --></A><H3>
getJMenuBar</H3>
<PRE>
public <A HREF="../../javax/swing/JMenuBar.html">JMenuBar</A> <B>getJMenuBar</B>()</PRE>
<DL>
<DD>Returns the menubar set on this frame.<DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JFrame.html#setJMenuBar(javax.swing.JMenuBar)"><CODE>setJMenuBar(javax.swing.JMenuBar)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="isRootPaneCheckingEnabled()"><!-- --></A><H3>
isRootPaneCheckingEnabled</H3>
<PRE>
protected boolean <B>isRootPaneCheckingEnabled</B>()</PRE>
<DL>
<DD>Returns whether calls to <code>add</code> and 
 <code>setLayout</code> cause an exception to be thrown.<DD><DL>
<DT><B>Returns:</B><DD>true if <code>add</code> and <code>setLayout</code> 
         are checked<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JFrame.html#addImpl(java.awt.Component, java.lang.Object, int)"><CODE>addImpl(java.awt.Component, java.lang.Object, int)</CODE></A>, 
<A HREF="../../javax/swing/JFrame.html#setLayout(java.awt.LayoutManager)"><CODE>setLayout(java.awt.LayoutManager)</CODE></A>, 
<A HREF="../../javax/swing/JFrame.html#setRootPaneCheckingEnabled(boolean)"><CODE>setRootPaneCheckingEnabled(boolean)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setRootPaneCheckingEnabled(boolean)"><!-- --></A><H3>
setRootPaneCheckingEnabled</H3>
<PRE>
protected void <B>setRootPaneCheckingEnabled</B>(boolean&nbsp;enabled)</PRE>
<DL>
<DD>Determines whether calls to <code>add</code> and 
 <code>setLayout</code> cause an exception to be thrown.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>enabled</CODE> - a boolean value, true if checking is to be
        enabled, which cause the exceptions to be thrown<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JFrame.html#addImpl(java.awt.Component, java.lang.Object, int)"><CODE>addImpl(java.awt.Component, java.lang.Object, int)</CODE></A>, 
<A HREF="../../javax/swing/JFrame.html#setLayout(java.awt.LayoutManager)"><CODE>setLayout(java.awt.LayoutManager)</CODE></A>, 
<A HREF="../../javax/swing/JFrame.html#isRootPaneCheckingEnabled()"><CODE>isRootPaneCheckingEnabled()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="addImpl(java.awt.Component, java.lang.Object, int)"><!-- --></A><H3>
addImpl</H3>
<PRE>
protected void <B>addImpl</B>(java.awt.Component&nbsp;comp,
                       java.lang.Object&nbsp;constraints,
                       int&nbsp;index)</PRE>
<DL>
<DD>By default, children may not be added directly to a this component,
 they must be added to its contentPane instead.  For example:
 <pre>
 thisComponent.getContentPane().add(child)
 </pre>
 An attempt to add to directly to this component will cause an
 runtime exception to be thrown.  Subclasses can disable this
 behavior.<DD><DL>
<DT><B>Throws:</B><DD>Error - if called with rootPaneChecking true<DT><B>Overrides:</B><DD>addImpl in class java.awt.Container<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JFrame.html#setRootPaneCheckingEnabled(boolean)"><CODE>setRootPaneCheckingEnabled(boolean)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setLayout(java.awt.LayoutManager)"><!-- --></A><H3>
setLayout</H3>
<PRE>
public void <B>setLayout</B>(java.awt.LayoutManager&nbsp;manager)</PRE>
<DL>
<DD>By default the layout of this component may not be set,
 the layout of its contentPane should be set instead.  
 For example:
 <pre>
 thiComponent.getContentPane().setLayout(new BorderLayout())
 </pre>
 An attempt to set the layout of this component will cause an
 runtime exception to be thrown.  Subclasses can disable this
 behavior.<DD><DL>
<DT><B>Throws:</B><DD>Error - if called with rootPaneChecking true<DT><B>Overrides:</B><DD>setLayout in class java.awt.Container<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JFrame.html#setRootPaneCheckingEnabled(boolean)"><CODE>setRootPaneCheckingEnabled(boolean)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getRootPane()"><!-- --></A><H3>
getRootPane</H3>
<PRE>
public <A HREF="../../javax/swing/JRootPane.html">JRootPane</A> <B>getRootPane</B>()</PRE>
<DL>
<DD>Returns the rootPane object for this frame.<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../javax/swing/RootPaneContainer.html#getRootPane()">getRootPane</A> in interface <A HREF="../../javax/swing/RootPaneContainer.html">RootPaneContainer</A><DT><B>See Also: </B><DD><A HREF="../../javax/swing/JFrame.html#setRootPane(javax.swing.JRootPane)"><CODE>setRootPane(javax.swing.JRootPane)</CODE></A>, 
<A HREF="../../javax/swing/RootPaneContainer.html#getRootPane()"><CODE>RootPaneContainer.getRootPane()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setRootPane(javax.swing.JRootPane)"><!-- --></A><H3>
setRootPane</H3>
<PRE>
protected void <B>setRootPane</B>(<A HREF="../../javax/swing/JRootPane.html">JRootPane</A>&nbsp;root)</PRE>
<DL>
<DD>Sets the rootPane property.  This method is called by the constructor.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>root</CODE> - the rootPane object for this frame<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JFrame.html#getRootPane()"><CODE>getRootPane()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getContentPane()"><!-- --></A><H3>
getContentPane</H3>
<PRE>
public java.awt.Container <B>getContentPane</B>()</PRE>
<DL>
<DD>Returns the contentPane object for this frame.<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../javax/swing/RootPaneContainer.html#getContentPane()">getContentPane</A> in interface <A HREF="../../javax/swing/RootPaneContainer.html">RootPaneContainer</A><DT><B>See Also: </B><DD><A HREF="../../javax/swing/JFrame.html#setContentPane(java.awt.Container)"><CODE>setContentPane(java.awt.Container)</CODE></A>, 
<A HREF="../../javax/swing/RootPaneContainer.html#getContentPane()"><CODE>RootPaneContainer.getContentPane()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setContentPane(java.awt.Container)"><!-- --></A><H3>
setContentPane</H3>
<PRE>
public void <B>setContentPane</B>(java.awt.Container&nbsp;contentPane)</PRE>
<DL>
<DD>Sets the contentPane property.  This method is called by the constructor.<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../javax/swing/RootPaneContainer.html#setContentPane(java.awt.Container)">setContentPane</A> in interface <A HREF="../../javax/swing/RootPaneContainer.html">RootPaneContainer</A><DT><B>Parameters:</B><DD><CODE>contentPane</CODE> - the contentPane object for this frame<DT><B>Throws:</B><DD>java.awt.IllegalComponentStateException - (a runtime
            exception) if the content pane parameter is null<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JFrame.html#getContentPane()"><CODE>getContentPane()</CODE></A>, 
<A HREF="../../javax/swing/RootPaneContainer.html#setContentPane(java.awt.Container)"><CODE>RootPaneContainer.setContentPane(java.awt.Container)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getLayeredPane()"><!-- --></A><H3>
getLayeredPane</H3>
<PRE>
public <A HREF="../../javax/swing/JLayeredPane.html">JLayeredPane</A> <B>getLayeredPane</B>()</PRE>
<DL>
<DD>Returns the layeredPane object for this frame.<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../javax/swing/RootPaneContainer.html#getLayeredPane()">getLayeredPane</A> in interface <A HREF="../../javax/swing/RootPaneContainer.html">RootPaneContainer</A><DT><B>See Also: </B><DD><A HREF="../../javax/swing/JFrame.html#setLayeredPane(javax.swing.JLayeredPane)"><CODE>setLayeredPane(javax.swing.JLayeredPane)</CODE></A>, 
<A HREF="../../javax/swing/RootPaneContainer.html#getLayeredPane()"><CODE>RootPaneContainer.getLayeredPane()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setLayeredPane(javax.swing.JLayeredPane)"><!-- --></A><H3>
setLayeredPane</H3>
<PRE>
public void <B>setLayeredPane</B>(<A HREF="../../javax/swing/JLayeredPane.html">JLayeredPane</A>&nbsp;layeredPane)</PRE>
<DL>
<DD>Sets the layeredPane property.  This method is called by the constructor.<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../javax/swing/RootPaneContainer.html#setLayeredPane(javax.swing.JLayeredPane)">setLayeredPane</A> in interface <A HREF="../../javax/swing/RootPaneContainer.html">RootPaneContainer</A><DT><B>Parameters:</B><DD><CODE>layeredPane</CODE> - the layeredPane object for this frame<DT><B>Throws:</B><DD>java.awt.IllegalComponentStateException - (a runtime
            exception) if the layered pane parameter is null<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JFrame.html#getLayeredPane()"><CODE>getLayeredPane()</CODE></A>, 
<A HREF="../../javax/swing/RootPaneContainer.html#setLayeredPane(javax.swing.JLayeredPane)"><CODE>RootPaneContainer.setLayeredPane(javax.swing.JLayeredPane)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getGlassPane()"><!-- --></A><H3>
getGlassPane</H3>
<PRE>
public java.awt.Component <B>getGlassPane</B>()</PRE>
<DL>
<DD>Returns the glassPane object for this frame.<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../javax/swing/RootPaneContainer.html#getGlassPane()">getGlassPane</A> in interface <A HREF="../../javax/swing/RootPaneContainer.html">RootPaneContainer</A><DT><B>See Also: </B><DD><A HREF="../../javax/swing/JFrame.html#setGlassPane(java.awt.Component)"><CODE>setGlassPane(java.awt.Component)</CODE></A>, 
<A HREF="../../javax/swing/RootPaneContainer.html#getGlassPane()"><CODE>RootPaneContainer.getGlassPane()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setGlassPane(java.awt.Component)"><!-- --></A><H3>
setGlassPane</H3>
<PRE>
public void <B>setGlassPane</B>(java.awt.Component&nbsp;glassPane)</PRE>
<DL>
<DD>Sets the glassPane property. 
 This method is called by the constructor.<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../javax/swing/RootPaneContainer.html#setGlassPane(java.awt.Component)">setGlassPane</A> in interface <A HREF="../../javax/swing/RootPaneContainer.html">RootPaneContainer</A><DT><B>Parameters:</B><DD><CODE>glassPane</CODE> - the glassPane object for this frame<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JFrame.html#getGlassPane()"><CODE>getGlassPane()</CODE></A>, 
<A HREF="../../javax/swing/RootPaneContainer.html#setGlassPane(java.awt.Component)"><CODE>RootPaneContainer.setGlassPane(java.awt.Component)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="paramString()"><!-- --></A><H3>
paramString</H3>
<PRE>
protected java.lang.String <B>paramString</B>()</PRE>
<DL>
<DD>Returns a string representation of this JFrame. This method 
 is intended to be used only for debugging purposes, and the 
 content and format of the returned string may vary between      
 implementations. The returned string may be empty but may not 
 be <code>null</code>.
 <P>
 Overriding paramString() to provide information about the
 specific new aspects of the JFC components.<DD><DL>
<DT><B>Returns:</B><DD>a string representation of this JFrame.<DT><B>Overrides:</B><DD>paramString in class java.awt.Frame</DL>
</DD>
</DL>
<HR>

<A NAME="getAccessibleContext()"><!-- --></A><H3>
getAccessibleContext</H3>
<PRE>
public <A HREF="../../javax/accessibility/AccessibleContext.html">AccessibleContext</A> <B>getAccessibleContext</B>()</PRE>
<DL>
<DD>Get the AccessibleContext associated with this JFrame<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../javax/accessibility/Accessible.html#getAccessibleContext()">getAccessibleContext</A> in interface <A HREF="../../javax/accessibility/Accessible.html">Accessible</A><DT><B>Returns:</B><DD>the AccessibleContext of this JFrame</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" ID="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" ID="NavBarCell1Rev"> &nbsp;<FONT ID="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="class-use/JFrame.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Swing 1.1</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../javax/swing/JFileChooser.AccessibleJFileChooser.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/JFrame.AccessibleJFrame.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="JFrame.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;<A HREF="#inner_class_summary">INNER</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
<font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>Java is a trademark or registered trademark of Sun Microsystems,  Inc. in the US and other countries.<br>Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,<br>Palo Alto, California, 94303, U.S.A.  All Rights Reserved.</font>
</BODY>
</HTML>
