87 * <p>
88 * For more information on content panes
89 * and other features that root panes provide,
90 * see <a
91 href="https://docs.oracle.com/javase/tutorial/uiswing/components/toplevel.html">Using Top-Level Containers</a> in <em>The Java Tutorial</em>.
92 * <p>
93 * In a multi-screen environment, you can create a <code>JFrame</code>
94 * on a different screen device. See {@link java.awt.Frame} for more
95 * information.
96 * <p>
97 * <strong>Warning:</strong> Swing is not thread safe. For more
98 * information see <a
99 * href="package-summary.html#threading">Swing's Threading
100 * Policy</a>.
101 * <p>
102 * <strong>Warning:</strong>
103 * Serialized objects of this class will not be compatible with
104 * future Swing releases. The current serialization support is
105 * appropriate for short term storage or RMI between applications running
106 * the same version of Swing. As of 1.4, support for long term storage
107 * of all JavaBeans™
108 * has been added to the <code>java.beans</code> package.
109 * Please see {@link java.beans.XMLEncoder}.
110 *
111 * @see JRootPane
112 * @see #setDefaultCloseOperation
113 * @see java.awt.event.WindowListener#windowClosing
114 * @see javax.swing.RootPaneContainer
115 *
116 * @author Jeff Dinkins
117 * @author Georges Saab
118 * @author David Kloba
119 * @since 1.2
120 */
121 @JavaBean(defaultProperty = "JMenuBar", description = "A toplevel window which can be minimized to an icon.")
122 @SwingContainer(delegate = "getContentPane")
123 @SuppressWarnings("serial") // Same-version serialization only
124 public class JFrame extends Frame implements WindowConstants,
125 Accessible,
126 RootPaneContainer,
127 TransferHandler.HasGetTransferHandler
|
87 * <p>
88 * For more information on content panes
89 * and other features that root panes provide,
90 * see <a
91 href="https://docs.oracle.com/javase/tutorial/uiswing/components/toplevel.html">Using Top-Level Containers</a> in <em>The Java Tutorial</em>.
92 * <p>
93 * In a multi-screen environment, you can create a <code>JFrame</code>
94 * on a different screen device. See {@link java.awt.Frame} for more
95 * information.
96 * <p>
97 * <strong>Warning:</strong> Swing is not thread safe. For more
98 * information see <a
99 * href="package-summary.html#threading">Swing's Threading
100 * Policy</a>.
101 * <p>
102 * <strong>Warning:</strong>
103 * Serialized objects of this class will not be compatible with
104 * future Swing releases. The current serialization support is
105 * appropriate for short term storage or RMI between applications running
106 * the same version of Swing. As of 1.4, support for long term storage
107 * of all JavaBeans
108 * has been added to the <code>java.beans</code> package.
109 * Please see {@link java.beans.XMLEncoder}.
110 *
111 * @see JRootPane
112 * @see #setDefaultCloseOperation
113 * @see java.awt.event.WindowListener#windowClosing
114 * @see javax.swing.RootPaneContainer
115 *
116 * @author Jeff Dinkins
117 * @author Georges Saab
118 * @author David Kloba
119 * @since 1.2
120 */
121 @JavaBean(defaultProperty = "JMenuBar", description = "A toplevel window which can be minimized to an icon.")
122 @SwingContainer(delegate = "getContentPane")
123 @SuppressWarnings("serial") // Same-version serialization only
124 public class JFrame extends Frame implements WindowConstants,
125 Accessible,
126 RootPaneContainer,
127 TransferHandler.HasGetTransferHandler
|