jdk/src/share/classes/javax/swing/JOptionPane.java
changeset 23715 54ae9dd9df73
parent 22574 7f8ce0c8c20a
child 24161 29dc629ec823
equal deleted inserted replaced
23714:468e8b2a358a 23715:54ae9dd9df73
   257  * Object[] possibleValues = { "First", "Second", "Third" };<br>
   257  * Object[] possibleValues = { "First", "Second", "Third" };<br>
   258  * Object selectedValue = JOptionPane.showInputDialog(null,
   258  * Object selectedValue = JOptionPane.showInputDialog(null,
   259  *             "Choose one", "Input",
   259  *             "Choose one", "Input",
   260  *             JOptionPane.INFORMATION_MESSAGE, null,
   260  *             JOptionPane.INFORMATION_MESSAGE, null,
   261  *             possibleValues, possibleValues[0]);
   261  *             possibleValues, possibleValues[0]);
   262  * </pre><p>
   262  * </pre>
   263  * </dl>
   263  * </dl>
   264  * <b>Direct Use:</b><br>
   264  * <b>Direct Use:</b><br>
   265  * To create and use an <code>JOptionPane</code> directly, the
   265  * To create and use an <code>JOptionPane</code> directly, the
   266  * standard pattern is roughly as follows:
   266  * standard pattern is roughly as follows:
   267  * <pre>
   267  * <pre>