Asked by Kennedy Kaiser on Jun 23, 2024

verifed

Verified

What happens when JOptionPane.PLAIN_MESSAGE is chosen as the messageType parameter?

A) No icon is displayed in the dialog box.
B) An X is displayed in the dialog box.
C) A question mark is displayed in the dialog box.
D) An exclamation point is displayed in the dialog box.

JOptionPane.PLAIN_MESSAGE

A constant in the JOptionPane class used to display a plain, no-icon message dialog in Java Swing.

  • Comprehend the application of Java Swing in the development of GUI applications.
verifed

Verified Answer

MT
Mridul TaisumJun 29, 2024
Final Answer :
A
Explanation :
When JOptionPane.PLAIN_MESSAGE is chosen as the messageType parameter, no icon is displayed in the dialog box.