293 * href="package-summary.html#threading">Swing's Threading
294 * Policy</a>.
295 * <p>
296 * <strong>Warning:</strong>
297 * Serialized objects of this class will not be compatible with
298 * future Swing releases. The current serialization support is
299 * appropriate for short term storage or RMI between applications running
300 * the same version of Swing. As of 1.4, support for long term storage
301 * of all JavaBeans™
302 * has been added to the <code>java.beans</code> package.
303 * Please see {@link java.beans.XMLEncoder}.
304 *
305 * @see JInternalFrame
306 *
307 * @beaninfo
308 * attribute: isContainer true
309 * description: A component which implements standard dialog box controls.
310 *
311 * @author James Gosling
312 * @author Scott Violet
313 */
314 @SuppressWarnings("serial") // Same-version serialization only
315 public class JOptionPane extends JComponent implements Accessible
316 {
317 /**
318 * @see #getUIClassID
319 * @see #readObject
320 */
321 private static final String uiClassID = "OptionPaneUI";
322
323 /**
324 * Indicates that the user has not yet selected a value.
325 */
326 public static final Object UNINITIALIZED_VALUE = "uninitializedValue";
327
328 //
329 // Option types
330 //
331
332 /**
|
293 * href="package-summary.html#threading">Swing's Threading
294 * Policy</a>.
295 * <p>
296 * <strong>Warning:</strong>
297 * Serialized objects of this class will not be compatible with
298 * future Swing releases. The current serialization support is
299 * appropriate for short term storage or RMI between applications running
300 * the same version of Swing. As of 1.4, support for long term storage
301 * of all JavaBeans™
302 * has been added to the <code>java.beans</code> package.
303 * Please see {@link java.beans.XMLEncoder}.
304 *
305 * @see JInternalFrame
306 *
307 * @beaninfo
308 * attribute: isContainer true
309 * description: A component which implements standard dialog box controls.
310 *
311 * @author James Gosling
312 * @author Scott Violet
313 * @since 1.2
314 */
315 @SuppressWarnings("serial") // Same-version serialization only
316 public class JOptionPane extends JComponent implements Accessible
317 {
318 /**
319 * @see #getUIClassID
320 * @see #readObject
321 */
322 private static final String uiClassID = "OptionPaneUI";
323
324 /**
325 * Indicates that the user has not yet selected a value.
326 */
327 public static final Object UNINITIALIZED_VALUE = "uninitializedValue";
328
329 //
330 // Option types
331 //
332
333 /**
|