Creates an instance of JOptionPane to display a message
with the specified message type and the default options,
message | the Object to display | |
messageType | the type of message to be displayed:
ERROR_MESSAGE,
INFORMATION_MESSAGE,
WARNING_MESSAGE,
QUESTION_MESSAGE,
or PLAIN_MESSAGE |
Diagram: JOptionPane