72 * href="package-summary.html#threading">Swing's Threading
73 * Policy</a>.
74 * <p>
75 * <strong>Warning:</strong>
76 * Serialized objects of this class will not be compatible with
77 * future Swing releases. The current serialization support is
78 * appropriate for short term storage or RMI between applications running
79 * the same version of Swing. As of 1.4, support for long term storage
80 * of all JavaBeans™
81 * has been added to the <code>java.beans</code> package.
82 * Please see {@link java.beans.XMLEncoder}.
83 *
84 * @see JRootPane
85 *
86 * @beaninfo
87 * attribute: isContainer true
88 * attribute: containerDelegate getContentPane
89 * description: A toplevel window which has no system border or controls.
90 *
91 * @author David Kloba
92 */
93 @SuppressWarnings("serial")
94 public class JWindow extends Window implements Accessible,
95 RootPaneContainer,
96 TransferHandler.HasGetTransferHandler
97 {
98 /**
99 * The <code>JRootPane</code> instance that manages the
100 * <code>contentPane</code>
101 * and optional <code>menuBar</code> for this frame, as well as the
102 * <code>glassPane</code>.
103 *
104 * @see #getRootPane
105 * @see #setRootPane
106 */
107 protected JRootPane rootPane;
108
109 /**
110 * If true then calls to <code>add</code> and <code>setLayout</code>
111 * will be forwarded to the <code>contentPane</code>. This is initially
|
72 * href="package-summary.html#threading">Swing's Threading
73 * Policy</a>.
74 * <p>
75 * <strong>Warning:</strong>
76 * Serialized objects of this class will not be compatible with
77 * future Swing releases. The current serialization support is
78 * appropriate for short term storage or RMI between applications running
79 * the same version of Swing. As of 1.4, support for long term storage
80 * of all JavaBeans™
81 * has been added to the <code>java.beans</code> package.
82 * Please see {@link java.beans.XMLEncoder}.
83 *
84 * @see JRootPane
85 *
86 * @beaninfo
87 * attribute: isContainer true
88 * attribute: containerDelegate getContentPane
89 * description: A toplevel window which has no system border or controls.
90 *
91 * @author David Kloba
92 * @since 1.2
93 */
94 @SuppressWarnings("serial")
95 public class JWindow extends Window implements Accessible,
96 RootPaneContainer,
97 TransferHandler.HasGetTransferHandler
98 {
99 /**
100 * The <code>JRootPane</code> instance that manages the
101 * <code>contentPane</code>
102 * and optional <code>menuBar</code> for this frame, as well as the
103 * <code>glassPane</code>.
104 *
105 * @see #getRootPane
106 * @see #setRootPane
107 */
108 protected JRootPane rootPane;
109
110 /**
111 * If true then calls to <code>add</code> and <code>setLayout</code>
112 * will be forwarded to the <code>contentPane</code>. This is initially
|