--- old/src/java.desktop/share/classes/javax/swing/JOptionPane.java 2017-09-03 00:47:00.000000000 -0700 +++ new/src/java.desktop/share/classes/javax/swing/JOptionPane.java 2017-09-03 00:47:00.000000000 -0700 @@ -71,37 +71,30 @@ * 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 * showXxxDialog methods shown below: - *
* * * * - * - * - * - * + * + * * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * + * + * + * + * + * + * *
Common JOptionPane method names and their descriptions
Method NameDescription
Method Name + * Description *
showConfirmDialogAsks a confirming question, like yes/no/cancel.
showInputDialogPrompt for some input.
showMessageDialogTell the user about something that has happened.
showOptionDialogThe Grand Unification of the above three.
showConfirmDialog + * Asks a confirming question, like yes/no/cancel.
showInputDialog + * Prompt for some input. + *
showMessageDialog + * Tell the user about something that has happened. + *
showOptionDialog + * The Grand Unification of the above three. *
* - *
* Each of these methods also comes in a showInternalXXX * flavor, which uses an internal frame to hold the dialog box (see * {@link JInternalFrame}).