equal
deleted
inserted
replaced
258 * Object[] possibleValues = { "First", "Second", "Third" };<br> |
258 * Object[] possibleValues = { "First", "Second", "Third" };<br> |
259 * Object selectedValue = JOptionPane.showInputDialog(null, |
259 * Object selectedValue = JOptionPane.showInputDialog(null, |
260 * "Choose one", "Input", |
260 * "Choose one", "Input", |
261 * JOptionPane.INFORMATION_MESSAGE, null, |
261 * JOptionPane.INFORMATION_MESSAGE, null, |
262 * possibleValues, possibleValues[0]); |
262 * possibleValues, possibleValues[0]); |
263 * </pre><p> |
263 * </pre> |
264 * </dl> |
264 * </dl> |
265 * <b>Direct Use:</b><br> |
265 * <b>Direct Use:</b><br> |
266 * To create and use an <code>JOptionPane</code> directly, the |
266 * To create and use an <code>JOptionPane</code> directly, the |
267 * standard pattern is roughly as follows: |
267 * standard pattern is roughly as follows: |
268 * <pre> |
268 * <pre> |