equal
deleted
inserted
replaced
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> |