<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue Jun 29 05:55:01 GMT+01:00 1999 -->
<TITLE>
Swing 1.1 API Specification: Interface  RootPaneContainer
</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/RootPaneContainer.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/Renderer.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/Scrollable.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="RootPaneContainer.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;CONSTR&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>
Interface  RootPaneContainer</H2>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../javax/swing/JInternalFrame.html">JInternalFrame</A>, <A HREF="../../javax/swing/JApplet.html">JApplet</A>, <A HREF="../../javax/swing/JWindow.html">JWindow</A>, <A HREF="../../javax/swing/JDialog.html">JDialog</A>, <A HREF="../../javax/swing/JFrame.html">JFrame</A></DD>
</DL>
<HR>
<DL>
<DT>public abstract interface <B>RootPaneContainer</B></DL>

<P>
This interface is implemented by components that have a single
 JRootPane child: JDialog, JFrame, JWindow, JApplet, JInternalFrame.
 The methods in  this interface are just <i>covers</i> for the JRootPane 
 properties, e.g. <code>getContentPane()</code> is generally implemented 
 like this:<pre>
     public Container getContentPane() {
         return getRootPane().getContentPane();
     }
 </pre>
 This interface serves as a <i>marker</i> for Swing GUI builders
 that need to treat components like JFrame, that contain a
 single JRootPane, specially.  For example in a GUI builder, 
 dropping a component on a RootPaneContainer would be interpreted 
 as <code>frame.getContentPane().add(child)</code>.
<P>
<DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JRootPane.html"><CODE>JRootPane</CODE></A>, 
<A HREF="../../javax/swing/JFrame.html"><CODE>JFrame</CODE></A>, 
<A HREF="../../javax/swing/JDialog.html"><CODE>JDialog</CODE></A>, 
<A HREF="../../javax/swing/JWindow.html"><CODE>JWindow</CODE></A>, 
<A HREF="../../javax/swing/JApplet.html"><CODE>JApplet</CODE></A>, 
<A HREF="../../javax/swing/JInternalFrame.html"><CODE>JInternalFrame</CODE></A></DL>
<HR>

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


<!-- =========== FIELD SUMMARY =========== -->


<!-- ======== CONSTRUCTOR SUMMARY ======== -->


<!-- ========== 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>&nbsp;java.awt.Container</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/RootPaneContainer.html#getContentPane()">getContentPane</A></B>()</CODE>

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

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the glassPane.</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/RootPaneContainer.html#getLayeredPane()">getLayeredPane</A></B>()</CODE>

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

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return this component's single JRootPane child.</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/RootPaneContainer.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;The "contentPane" is the primary container for application 
 specific components.</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/RootPaneContainer.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;The glassPane is always the first child of the rootPane
 and the rootPanes layout manager ensures that it's always
 as big as the rootPane.</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/RootPaneContainer.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;A Container that manages the contentPane and in some cases a menu bar.</TD>
</TR>
</TABLE>
&nbsp;
<P>

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


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


<!-- ============ 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="getRootPane()"><!-- --></A><H3>
getRootPane</H3>
<PRE>
public <A HREF="../../javax/swing/JRootPane.html">JRootPane</A> <B>getRootPane</B>()</PRE>
<DL>
<DD>Return this component's single JRootPane child.  A conventional
 implementation of this interface will have all of the other 
 methods indirect through this one.  The rootPane has two
 children: the glassPane and the layeredPane.<DD><DL>
<DT><B>Returns:</B><DD>this components single JRootPane child.<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JRootPane.html"><CODE>JRootPane</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>The "contentPane" is the primary container for application 
 specific components.  Applications should add children to 
 the contentPane, set its layout manager, and so on.  
 <p>
 The contentPane my not be null.
 <p>
 Generally implemented with 
 <code>getRootPane().setContentPane(contentPane);</code><DD><DL>
<DT><B>Parameters:</B><DD><CODE>contentPane</CODE> - the Container to use for the contents of this
        JRootPane<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/JRootPane.html#getContentPane()"><CODE>JRootPane.getContentPane()</CODE></A>, 
<A HREF="../../javax/swing/RootPaneContainer.html#getContentPane()"><CODE>getContentPane()</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.<DD><DL>
<DT><B>Returns:</B><DD>the value of the contentPane property.<DT><B>See Also: </B><DD><A HREF="../../javax/swing/RootPaneContainer.html#setContentPane(java.awt.Container)"><CODE>setContentPane(java.awt.Container)</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>A Container that manages the contentPane and in some cases a menu bar. 
 The layeredPane can be used by descendants that want to add a child
 to the RootPaneContainer that isn't layout managed.  For example
 an internal dialog or a drag and drop effect component.
 <p>
 The layeredPane may not be null.
 <p>
 Generally implemented with<pre> 
    getRootPane().setLayeredPane(layeredPane);</pre><DD><DL>
<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/RootPaneContainer.html#getLayeredPane()"><CODE>getLayeredPane()</CODE></A>, 
<A HREF="../../javax/swing/JRootPane.html#getLayeredPane()"><CODE>JRootPane.getLayeredPane()</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.<DD><DL>
<DT><B>Returns:</B><DD>the value of the layeredPane property.<DT><B>See Also: </B><DD><A HREF="../../javax/swing/RootPaneContainer.html#setLayeredPane(javax.swing.JLayeredPane)"><CODE>setLayeredPane(javax.swing.JLayeredPane)</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>The glassPane is always the first child of the rootPane
 and the rootPanes layout manager ensures that it's always
 as big as the rootPane.  By default it's transparent and
 not visible.  It can be used to temporarily grab all keyboard 
 and mouse input by adding listeners and then making it visible.
 by default it's not visible.
 <p>
 The glassPane may not be null.
 <p>
 Generally implemented with 
 <code>getRootPane().setGlassPane(glassPane);</code><DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/RootPaneContainer.html#getGlassPane()"><CODE>getGlassPane()</CODE></A>, 
<A HREF="../../javax/swing/JRootPane.html#setGlassPane(java.awt.Component)"><CODE>JRootPane.setGlassPane(java.awt.Component)</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.<DD><DL>
<DT><B>Returns:</B><DD>the value of the glassPane property.<DT><B>See Also: </B><DD><A HREF="../../javax/swing/RootPaneContainer.html#setGlassPane(java.awt.Component)"><CODE>setGlassPane(java.awt.Component)</CODE></A></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/RootPaneContainer.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/Renderer.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/Scrollable.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="RootPaneContainer.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;CONSTR&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>
