JOptionPane Message Dialog Constants
The constants that represent the message dialog types are shown in Fig. 12.3. All message dialog types except PLAIN_MESSAGE
display an icon to the left of the message. These icons provide a visual indication of the message’s importance to the user. A QUESTION_MESSAGE
icon is the default icon for an input dialog box (see Fig. 12.2).
Get Java™ How To Program (Early Objects), Tenth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.