src/share/classes/javax/swing/JDesktopPane.java

Print this page




  46 /**
  47  * A container used to create a multiple-document interface or a virtual desktop.
  48  * You create <code>JInternalFrame</code> objects and add them to the
  49  * <code>JDesktopPane</code>. <code>JDesktopPane</code> extends
  50  * <code>JLayeredPane</code> to manage the potentially overlapping internal
  51  * frames. It also maintains a reference to an instance of
  52  * <code>DesktopManager</code> that is set by the UI
  53  * class for the current look and feel (L&amp;F).  Note that <code>JDesktopPane</code>
  54  * does not support borders.
  55  * <p>
  56  * This class is normally used as the parent of <code>JInternalFrames</code>
  57  * to provide a pluggable <code>DesktopManager</code> object to the
  58  * <code>JInternalFrames</code>. The <code>installUI</code> of the
  59  * L&amp;F specific implementation is responsible for setting the
  60  * <code>desktopManager</code> variable appropriately.
  61  * When the parent of a <code>JInternalFrame</code> is a <code>JDesktopPane</code>,
  62  * it should delegate most of its behavior to the <code>desktopManager</code>
  63  * (closing, resizing, etc).
  64  * <p>
  65  * For further documentation and examples see
  66  * <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/internalframe.html">How to Use Internal Frames</a>,
  67  * a section in <em>The Java Tutorial</em>.
  68  * <p>
  69  * <strong>Warning:</strong> Swing is not thread safe. For more
  70  * information see <a
  71  * href="package-summary.html#threading">Swing's Threading
  72  * Policy</a>.
  73  * <p>
  74  * <strong>Warning:</strong>
  75  * Serialized objects of this class will not be compatible with
  76  * future Swing releases. The current serialization support is
  77  * appropriate for short term storage or RMI between applications running
  78  * the same version of Swing.  As of 1.4, support for long term storage
  79  * of all JavaBeans<sup><font size="-2">TM</font></sup>
  80  * has been added to the <code>java.beans</code> package.
  81  * Please see {@link java.beans.XMLEncoder}.
  82  *
  83  * @see JInternalFrame
  84  * @see JInternalFrame.JDesktopIcon
  85  * @see DesktopManager
  86  *




  46 /**
  47  * A container used to create a multiple-document interface or a virtual desktop.
  48  * You create <code>JInternalFrame</code> objects and add them to the
  49  * <code>JDesktopPane</code>. <code>JDesktopPane</code> extends
  50  * <code>JLayeredPane</code> to manage the potentially overlapping internal
  51  * frames. It also maintains a reference to an instance of
  52  * <code>DesktopManager</code> that is set by the UI
  53  * class for the current look and feel (L&amp;F).  Note that <code>JDesktopPane</code>
  54  * does not support borders.
  55  * <p>
  56  * This class is normally used as the parent of <code>JInternalFrames</code>
  57  * to provide a pluggable <code>DesktopManager</code> object to the
  58  * <code>JInternalFrames</code>. The <code>installUI</code> of the
  59  * L&amp;F specific implementation is responsible for setting the
  60  * <code>desktopManager</code> variable appropriately.
  61  * When the parent of a <code>JInternalFrame</code> is a <code>JDesktopPane</code>,
  62  * it should delegate most of its behavior to the <code>desktopManager</code>
  63  * (closing, resizing, etc).
  64  * <p>
  65  * For further documentation and examples see
  66  * <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/internalframe.html">How to Use Internal Frames</a>,
  67  * a section in <em>The Java Tutorial</em>.
  68  * <p>
  69  * <strong>Warning:</strong> Swing is not thread safe. For more
  70  * information see <a
  71  * href="package-summary.html#threading">Swing's Threading
  72  * Policy</a>.
  73  * <p>
  74  * <strong>Warning:</strong>
  75  * Serialized objects of this class will not be compatible with
  76  * future Swing releases. The current serialization support is
  77  * appropriate for short term storage or RMI between applications running
  78  * the same version of Swing.  As of 1.4, support for long term storage
  79  * of all JavaBeans<sup><font size="-2">TM</font></sup>
  80  * has been added to the <code>java.beans</code> package.
  81  * Please see {@link java.beans.XMLEncoder}.
  82  *
  83  * @see JInternalFrame
  84  * @see JInternalFrame.JDesktopIcon
  85  * @see DesktopManager
  86  *