63 * of a {@code JDialog}.
64 * <p>
65 * Please see the {@code JRootPane} documentation for a complete
66 * description of the {@code contentPane}, {@code glassPane},
67 * and {@code layeredPane} components.
68 * <p>
69 * In a multi-screen environment, you can create a {@code JDialog}
70 * on a different screen device than its owner. See {@link java.awt.Frame} for
71 * more information.
72 * <p>
73 * <strong>Warning:</strong> Swing is not thread safe. For more
74 * information see <a
75 * href="package-summary.html#threading">Swing's Threading
76 * Policy</a>.
77 * <p>
78 * <strong>Warning:</strong>
79 * Serialized objects of this class will not be compatible with
80 * future Swing releases. The current serialization support is
81 * appropriate for short term storage or RMI between applications running
82 * the same version of Swing. As of 1.4, support for long term storage
83 * of all JavaBeans™
84 * has been added to the {@code java.beans} package.
85 * Please see {@link java.beans.XMLEncoder}.
86 *
87 * @see JOptionPane
88 * @see JRootPane
89 * @see javax.swing.RootPaneContainer
90 *
91 * @author David Kloba
92 * @author James Gosling
93 * @author Scott Violet
94 * @since 1.2
95 */
96 @JavaBean(defaultProperty = "JMenuBar", description = "A toplevel window for creating dialog boxes.")
97 @SwingContainer(delegate = "getContentPane")
98 @SuppressWarnings("serial") // Same-version serialization only
99 public class JDialog extends Dialog implements WindowConstants,
100 Accessible,
101 RootPaneContainer,
102 TransferHandler.HasGetTransferHandler
103 {
|
63 * of a {@code JDialog}.
64 * <p>
65 * Please see the {@code JRootPane} documentation for a complete
66 * description of the {@code contentPane}, {@code glassPane},
67 * and {@code layeredPane} components.
68 * <p>
69 * In a multi-screen environment, you can create a {@code JDialog}
70 * on a different screen device than its owner. See {@link java.awt.Frame} for
71 * more information.
72 * <p>
73 * <strong>Warning:</strong> Swing is not thread safe. For more
74 * information see <a
75 * href="package-summary.html#threading">Swing's Threading
76 * Policy</a>.
77 * <p>
78 * <strong>Warning:</strong>
79 * Serialized objects of this class will not be compatible with
80 * future Swing releases. The current serialization support is
81 * appropriate for short term storage or RMI between applications running
82 * the same version of Swing. As of 1.4, support for long term storage
83 * of all JavaBeans
84 * has been added to the {@code java.beans} package.
85 * Please see {@link java.beans.XMLEncoder}.
86 *
87 * @see JOptionPane
88 * @see JRootPane
89 * @see javax.swing.RootPaneContainer
90 *
91 * @author David Kloba
92 * @author James Gosling
93 * @author Scott Violet
94 * @since 1.2
95 */
96 @JavaBean(defaultProperty = "JMenuBar", description = "A toplevel window for creating dialog boxes.")
97 @SwingContainer(delegate = "getContentPane")
98 @SuppressWarnings("serial") // Same-version serialization only
99 public class JDialog extends Dialog implements WindowConstants,
100 Accessible,
101 RootPaneContainer,
102 TransferHandler.HasGetTransferHandler
103 {
|