< prev index next >

src/java.desktop/share/classes/javax/swing/JOptionPane.java

Print this page

        

*** 69,109 **** * * While the <code>JOptionPane</code> * class may appear complex because of the large number of methods, almost * all uses of this class are one-line calls to one of the static * <code>showXxxDialog</code> methods shown below: - * <blockquote> * * <table class="striped"> * <caption>Common JOptionPane method names and their descriptions</caption> * <thead> * <tr> ! * <th>Method Name</th> ! * <th>Description</th> ! * </tr> * </thead> * <tbody> * <tr> ! * <td>showConfirmDialog</td> * <td>Asks a confirming question, like yes/no/cancel.</td> - * </tr> * <tr> ! * <td>showInputDialog</td> ! * <td>Prompt for some input.</td> ! * </tr> * <tr> ! * <td>showMessageDialog</td> ! * <td>Tell the user about something that has happened.</td> ! * </tr> * <tr> ! * <td>showOptionDialog</td> ! * <td>The Grand Unification of the above three.</td> ! * </tr> * </tbody> * </table> * - * </blockquote> * Each of these methods also comes in a <code>showInternalXXX</code> * flavor, which uses an internal frame to hold the dialog box (see * {@link JInternalFrame}). * Multiple convenience methods have also been defined -- overloaded * versions of the basic methods that use different parameter lists. --- 69,102 ---- * * While the <code>JOptionPane</code> * class may appear complex because of the large number of methods, almost * all uses of this class are one-line calls to one of the static * <code>showXxxDialog</code> methods shown below: * * <table class="striped"> * <caption>Common JOptionPane method names and their descriptions</caption> * <thead> * <tr> ! * <th scope="col">Method Name ! * <th scope="col">Description * </thead> * <tbody> * <tr> ! * <th scope="row">showConfirmDialog * <td>Asks a confirming question, like yes/no/cancel.</td> * <tr> ! * <th scope="row">showInputDialog ! * <td>Prompt for some input. * <tr> ! * <th scope="row">showMessageDialog ! * <td>Tell the user about something that has happened. * <tr> ! * <th scope="row">showOptionDialog ! * <td>The Grand Unification of the above three. * </tbody> * </table> * * Each of these methods also comes in a <code>showInternalXXX</code> * flavor, which uses an internal frame to hold the dialog box (see * {@link JInternalFrame}). * Multiple convenience methods have also been defined -- overloaded * versions of the basic methods that use different parameter lists.
< prev index next >