<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue Jun 29 05:55:48 GMT+01:00 1999 -->
<TITLE>
Swing 1.1 API Specification: Class  JDialog
</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/JDialog.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/JDesktopPane.AccessibleJDesktopPane.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/JDialog.AccessibleJDialog.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="JDialog.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  JDialog</H2>
<PRE>
java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Dialog
                          |
                          +--<B>javax.swing.JDialog</B>
</PRE>
<HR>
<DL>
<DT>public class <B>JDialog</B><DT>extends java.awt.Dialog<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>
The main class for creating a dialog window. You can use this class
 to create a custom dialog, or invoke the many static methods
 in JOptionPane to create a variety of standard dialogs.

 The JDialog component contains a JRootPane as it's only 
 child.
 The <code>contentPane</code> should be the parent of any children of 
 the JDialog. From the older <code>java.awt.Window</code> object you 
 would normally do something like this:
 <PRE>
       dialog.add(child);
 </PRE>
 Using JDialog the proper semantic is:
 <PRE>
       dialog.getContentPane().add(child);
 </PRE>
 The same priniciple holds true for setting layout managers, removing 
 components, listing children, etc. All these methods should normally 
 be sent to the <code>contentPane</code> instead of to the JDialog.
 The <code>contentPane</code> is always non-null. Attempting to set it 
 to null generates an exception. The default <code>contentPane</code> 
 has a BorderLayout manager set on it. 
 <p>
 Please see the JRootPane documentation for a complete 
 description of the <code>contentPane</code>, <code>glassPane</code>, 
 and <code>layeredPane</code> components.
 <p>
 NOTE: For 1.1, Modal dialogs are currently constrained to only allow
 lightweight popup menus (JPopupMenu, JComboBox, JMenuBar) because
 of window ownership limitations in AWT1.1.   This creates the further
 limitation of not being able to mix Swing popup components with
 AWT heavyweight components in a modal dialog since the heavyweight
 components would always overlap the lightweights, potentially
 obscuring the popup menu.
 (A heavyweight component uses a native-platform component (peer)
 component for its implementation -- AWT components are heavyweight
 components.)
 <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#JDialog">JDialog</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/JOptionPane.html"><CODE>JOptionPane</CODE></A>, 
<A HREF="../../javax/swing/JRootPane.html"><CODE>JRootPane</CODE></A>, <A HREF="../../serialized-form.html#javax.swing.JDialog">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/JDialog.AccessibleJDialog.html">JDialog.AccessibleJDialog</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/JDialog.html#accessibleContext">accessibleContext</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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/JDialog.html#rootPane">rootPane</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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/JDialog.html#rootPaneCheckingEnabled">rootPaneCheckingEnabled</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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/JDialog.html#JDialog()">JDialog</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a non-modal dialog without a title and without
 a specified Frame owner.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JDialog.html#JDialog(java.awt.Frame)">JDialog</A></B>(java.awt.Frame&nbsp;owner)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a non-modal dialog without a title with the
 specifed Frame as its owner.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JDialog.html#JDialog(java.awt.Frame, boolean)">JDialog</A></B>(java.awt.Frame&nbsp;owner,
        boolean&nbsp;modal)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a modal or non-modal dialog without a title and
 with the specified owner frame.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JDialog.html#JDialog(java.awt.Frame, java.lang.String)">JDialog</A></B>(java.awt.Frame&nbsp;owner,
        java.lang.String&nbsp;title)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a non-modal dialog with the specified title and
 with the specified owner frame.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JDialog.html#JDialog(java.awt.Frame, java.lang.String, boolean)">JDialog</A></B>(java.awt.Frame&nbsp;owner,
        java.lang.String&nbsp;title,
        boolean&nbsp;modal)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a modal or non-modal dialog with the specified title 
 and the specified owner frame.</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/JDialog.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/JDialog.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/JDialog.html#dialogInit()">dialogInit</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Called by the constructors to init the JDialog 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/JDialog.html#getAccessibleContext()">getAccessibleContext</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the AccessibleContext associated with this JDialog</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/JDialog.html#getContentPane()">getContentPane</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the contentPane object for this dialog.</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/JDialog.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 dialog.</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/JDialog.html#getGlassPane()">getGlassPane</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the glassPane object for this dialog.</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/JDialog.html#getJMenuBar()">getJMenuBar</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the menubar set on this dialog.</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/JDialog.html#getLayeredPane()">getLayeredPane</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the layeredPane object for this dialog.</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/JDialog.html#getRootPane()">getRootPane</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the rootPane object for this dialog.</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/JDialog.html#isRootPaneCheckingEnabled()">isRootPaneCheckingEnabled</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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/JDialog.html#paramString()">paramString</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string representation of this JDialog.</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/JDialog.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;Handles window events depending on the state of the
 <code>defaultCloseOperation</code> 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/JDialog.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/JDialog.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 dialog.</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/JDialog.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/JDialog.html#setJMenuBar(javax.swing.JMenuBar)">setJMenuBar</A></B>(<A HREF="../../javax/swing/JMenuBar.html">JMenuBar</A>&nbsp;menu)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the menubar for this dialog.</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/JDialog.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/JDialog.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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JDialog.html#setLocationRelativeTo(java.awt.Component)">setLocationRelativeTo</A></B>(java.awt.Component&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the location of the dialog relative to the specified
 component.</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/JDialog.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/JDialog.html#setRootPaneCheckingEnabled(boolean)">setRootPaneCheckingEnabled</A></B>(boolean&nbsp;enabled)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If true then calls to add() and setLayout() will 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/JDialog.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.Dialog"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class java.awt.Dialog</B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE>addNotify, 
getTitle, 
isModal, 
isResizable, 
setModal, 
setResizable, 
setTitle, 
show</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, 
dispose, 
getFocusOwner, 
getLocale, 
getToolkit, 
getWarningString, 
isShowing, 
pack, 
postEvent, 
processEvent, 
removeWindowListener, 
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, 
processKeyEvent, 
processMouseEvent, 
processMouseMotionEvent, 
remove, 
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><DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JDialog.html#getRootPane()"><CODE>getRootPane()</CODE></A>, 
<A HREF="../../javax/swing/JDialog.html#setRootPane(javax.swing.JRootPane)"><CODE>setRootPane(javax.swing.JRootPane)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="rootPaneCheckingEnabled"><!-- --></A><H3>
rootPaneCheckingEnabled</H3>
<PRE>
protected boolean <B>rootPaneCheckingEnabled</B></PRE>
<DL>
<DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JDialog.html#isRootPaneCheckingEnabled()"><CODE>isRootPaneCheckingEnabled()</CODE></A>, 
<A HREF="../../javax/swing/JDialog.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>
</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="JDialog()"><!-- --></A><H3>
JDialog</H3>
<PRE>
public <B>JDialog</B>()</PRE>
<DL>
<DD>Creates a non-modal dialog without a title and without
 a specified Frame owner.  A shared, hidden frame will be
 set as the owner of the Dialog.</DL>
<HR>

<A NAME="JDialog(java.awt.Frame)"><!-- --></A><H3>
JDialog</H3>
<PRE>
public <B>JDialog</B>(java.awt.Frame&nbsp;owner)</PRE>
<DL>
<DD>Creates a non-modal dialog without a title with the
 specifed Frame as its owner.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>owner</CODE> - the Frame from which the dialog is displayed</DL>
</DD>
</DL>
<HR>

<A NAME="JDialog(java.awt.Frame, boolean)"><!-- --></A><H3>
JDialog</H3>
<PRE>
public <B>JDialog</B>(java.awt.Frame&nbsp;owner,
               boolean&nbsp;modal)</PRE>
<DL>
<DD>Creates a modal or non-modal dialog without a title and
 with the specified owner frame.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>owner</CODE> - the Frame from which the dialog is displayed<DD><CODE>modal</CODE> - true for a modal dialog, false for one that allows
               others windows to be active at the same time</DL>
</DD>
</DL>
<HR>

<A NAME="JDialog(java.awt.Frame, java.lang.String)"><!-- --></A><H3>
JDialog</H3>
<PRE>
public <B>JDialog</B>(java.awt.Frame&nbsp;owner,
               java.lang.String&nbsp;title)</PRE>
<DL>
<DD>Creates a non-modal dialog with the specified title and
 with the specified owner frame.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>owner</CODE> - the Frame from which the dialog is displayed<DD><CODE>title</CODE> - the String to display in the dialog's title bar</DL>
</DD>
</DL>
<HR>

<A NAME="JDialog(java.awt.Frame, java.lang.String, boolean)"><!-- --></A><H3>
JDialog</H3>
<PRE>
public <B>JDialog</B>(java.awt.Frame&nbsp;owner,
               java.lang.String&nbsp;title,
               boolean&nbsp;modal)</PRE>
<DL>
<DD>Creates a modal or non-modal dialog with the specified title 
 and the specified owner frame.
 <p>
 NOTE: Any popup components (JComboBox, JPopupMenu, JMenuBar)
 created within a modal dialog will be forced to be lightweight.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>owner</CODE> - the frame from which the dialog is displayed<DD><CODE>title</CODE> - the String to display in the dialog's title bar<DD><CODE>modal</CODE> - true for a modal dialog, false for one that allows
               others windows to be active at the same time</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="dialogInit()"><!-- --></A><H3>
dialogInit</H3>
<PRE>
protected void <B>dialogInit</B>()</PRE>
<DL>
<DD>Called by the constructors to init the JDialog 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="processWindowEvent(java.awt.event.WindowEvent)"><!-- --></A><H3>
processWindowEvent</H3>
<PRE>
protected void <B>processWindowEvent</B>(java.awt.event.WindowEvent&nbsp;e)</PRE>
<DL>
<DD>Handles window events depending on the state of the
 <code>defaultCloseOperation</code> property.<DD><DL>
<DT><B>Overrides:</B><DD>processWindowEvent in class java.awt.Window<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JDialog.html#setDefaultCloseOperation(int)"><CODE>setDefaultCloseOperation(int)</CODE></A></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 dialog.
 The possible choices are:
 <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 dialog after
 invoking any registered WindowListener objects
 <li>DISPOSE_ON_CLOSE - automatically hide and dispose the 
 dialog 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/JDialog.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 dialog.<DD><DL>
<DT><B>Returns:</B><DD>an int indicating the window-close operation<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JDialog.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>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;menu)</PRE>
<DL>
<DD>Sets the menubar for this dialog.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>menubar</CODE> - the menubar being placed in the dialog<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JDialog.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 dialog.<DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JDialog.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><DL>
<DT><B>Returns:</B><DD>true if add and setLayout should be checked<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JDialog.html#addImpl(java.awt.Component, java.lang.Object, int)"><CODE>addImpl(java.awt.Component, java.lang.Object, int)</CODE></A>, 
<A HREF="../../javax/swing/JDialog.html#setLayout(java.awt.LayoutManager)"><CODE>setLayout(java.awt.LayoutManager)</CODE></A>, 
<A HREF="../../javax/swing/JDialog.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>If true then calls to add() and setLayout() will cause an exception
 to be thrown.<DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JDialog.html#addImpl(java.awt.Component, java.lang.Object, int)"><CODE>addImpl(java.awt.Component, java.lang.Object, int)</CODE></A>, 
<A HREF="../../javax/swing/JDialog.html#setLayout(java.awt.LayoutManager)"><CODE>setLayout(java.awt.LayoutManager)</CODE></A>, 
<A HREF="../../javax/swing/JDialog.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/JDialog.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>
 thisComponent.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/JDialog.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 dialog.<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/JDialog.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 dialog<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JDialog.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 dialog.<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/JDialog.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 dialog<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/JDialog.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 dialog.<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/JDialog.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 dialog<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/JDialog.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 dialog.<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/JDialog.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 dialog<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JDialog.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="setLocationRelativeTo(java.awt.Component)"><!-- --></A><H3>
setLocationRelativeTo</H3>
<PRE>
public void <B>setLocationRelativeTo</B>(java.awt.Component&nbsp;c)</PRE>
<DL>
<DD>Sets the location of the dialog relative to the specified
 component. If the component is not currently showing, the 
 dialog is centered on the screen.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - the component in relation to which the dialog's location
           is determined</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 JDialog. 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 JDialog.<DT><B>Overrides:</B><DD>paramString in class java.awt.Dialog</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 JDialog<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 JDialog</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/JDialog.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/JDesktopPane.AccessibleJDesktopPane.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/JDialog.AccessibleJDialog.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="JDialog.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>
