jdk/src/java.desktop/share/classes/javax/swing/JOptionPane.java
changeset 32865 f9cb6e427f9e
parent 28231 b608ffcaed74
child 33253 78e735319356
equal deleted inserted replaced
32864:2a338536e642 32865:f9cb6e427f9e
   392     public static final String      INPUT_VALUE_PROPERTY = "inputValue";
   392     public static final String      INPUT_VALUE_PROPERTY = "inputValue";
   393     /** Bound property name for <code>wantsInput</code>. */
   393     /** Bound property name for <code>wantsInput</code>. */
   394     public static final String      WANTS_INPUT_PROPERTY = "wantsInput";
   394     public static final String      WANTS_INPUT_PROPERTY = "wantsInput";
   395 
   395 
   396     /** Icon used in pane. */
   396     /** Icon used in pane. */
   397     transient protected Icon                  icon;
   397     protected transient Icon                  icon;
   398     /** Message to display. */
   398     /** Message to display. */
   399     transient protected Object                message;
   399     protected transient Object                message;
   400     /** Options to display to the user. */
   400     /** Options to display to the user. */
   401     transient protected Object[]              options;
   401     protected transient Object[]              options;
   402     /** Value that should be initially selected in <code>options</code>. */
   402     /** Value that should be initially selected in <code>options</code>. */
   403     transient protected Object                initialValue;
   403     protected transient Object                initialValue;
   404     /** Message type. */
   404     /** Message type. */
   405     protected int                   messageType;
   405     protected int                   messageType;
   406     /**
   406     /**
   407      * Option type, one of <code>DEFAULT_OPTION</code>,
   407      * Option type, one of <code>DEFAULT_OPTION</code>,
   408      * <code>YES_NO_OPTION</code>,
   408      * <code>YES_NO_OPTION</code>,
   410      * <code>OK_CANCEL_OPTION</code>.
   410      * <code>OK_CANCEL_OPTION</code>.
   411      */
   411      */
   412     protected int                   optionType;
   412     protected int                   optionType;
   413     /** Currently selected value, will be a valid option, or
   413     /** Currently selected value, will be a valid option, or
   414      * <code>UNINITIALIZED_VALUE</code> or <code>null</code>. */
   414      * <code>UNINITIALIZED_VALUE</code> or <code>null</code>. */
   415     transient protected Object                value;
   415     protected transient Object                value;
   416     /** Array of values the user can choose from. Look and feel will
   416     /** Array of values the user can choose from. Look and feel will
   417      * provide the UI component to choose this from. */
   417      * provide the UI component to choose this from. */
   418     protected transient Object[]              selectionValues;
   418     protected transient Object[]              selectionValues;
   419     /** Value the user has input. */
   419     /** Value the user has input. */
   420     protected transient Object                inputValue;
   420     protected transient Object                inputValue;