< prev index next >
src/java.desktop/share/classes/javax/swing/JOptionPane.java
Print this page
*** 71,86 ****
* 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 border=1 summary="Common JOptionPane method names and their descriptions">
* <tr>
* <th>Method Name</th>
* <th>Description</th>
* </tr>
* <tr>
* <td>showConfirmDialog</td>
* <td>Asks a confirming question, like yes/no/cancel.</td>
* </tr>
* <tr>
--- 71,89 ----
* 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>
*** 93,102 ****
--- 96,106 ----
* </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
*** 105,115 ****
* versions of the basic methods that use different parameter lists.
* <p>
* All dialogs are modal. Each <code>showXxxDialog</code> method blocks
* the caller until the user's interaction is complete.
*
! * <table cellspacing=6 cellpadding=4 border=0 style="float:right" summary="layout">
* <tr>
* <td style="background-color:#FFe0d0" rowspan=2>icon</td>
* <td style="background-color:#FFe0d0">message</td>
* </tr>
* <tr>
--- 109,120 ----
* versions of the basic methods that use different parameter lists.
* <p>
* All dialogs are modal. Each <code>showXxxDialog</code> method blocks
* the caller until the user's interaction is complete.
*
! * <table class="borderless">
! * <caption>Common dialog</caption>
* <tr>
* <td style="background-color:#FFe0d0" rowspan=2>icon</td>
* <td style="background-color:#FFe0d0">message</td>
* </tr>
* <tr>
*** 119,129 ****
* <td style="background-color:#FFe0d0" colspan=2>option buttons</td>
* </tr>
* </table>
*
* The basic appearance of one of these dialog boxes is generally
! * similar to the picture at the right, although the various
* look-and-feels are
* ultimately responsible for the final result. In particular, the
* look-and-feels will adjust the layout to accommodate the option pane's
* <code>ComponentOrientation</code> property.
* <br style="clear:all">
--- 124,134 ----
* <td style="background-color:#FFe0d0" colspan=2>option buttons</td>
* </tr>
* </table>
*
* The basic appearance of one of these dialog boxes is generally
! * similar to the picture above, although the various
* look-and-feels are
* ultimately responsible for the final result. In particular, the
* look-and-feels will adjust the layout to accommodate the option pane's
* <code>ComponentOrientation</code> property.
* <br style="clear:all">
< prev index next >