src/java.desktop/share/classes/javax/swing/JOptionPane.java
Print this page
@@ -392,17 +392,17 @@
public static final String INPUT_VALUE_PROPERTY = "inputValue";
/** Bound property name for <code>wantsInput</code>. */
public static final String WANTS_INPUT_PROPERTY = "wantsInput";
/** Icon used in pane. */
- transient protected Icon icon;
+ protected transient Icon icon;
/** Message to display. */
- transient protected Object message;
+ protected transient Object message;
/** Options to display to the user. */
- transient protected Object[] options;
+ protected transient Object[] options;
/** Value that should be initially selected in <code>options</code>. */
- transient protected Object initialValue;
+ protected transient Object initialValue;
/** Message type. */
protected int messageType;
/**
* Option type, one of <code>DEFAULT_OPTION</code>,
* <code>YES_NO_OPTION</code>,
@@ -410,11 +410,11 @@
* <code>OK_CANCEL_OPTION</code>.
*/
protected int optionType;
/** Currently selected value, will be a valid option, or
* <code>UNINITIALIZED_VALUE</code> or <code>null</code>. */
- transient protected Object value;
+ protected transient Object value;
/** Array of values the user can choose from. Look and feel will
* provide the UI component to choose this from. */
protected transient Object[] selectionValues;
/** Value the user has input. */
protected transient Object inputValue;