public class MDIMessageDialogHelper
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static int |
showMessageDialog(java.lang.String title,
int messageType,
boolean isModal,
boolean isResizable,
java.lang.String... messages)
Show a message dialog, with an OK button.
|
static int |
showMessageDialog(java.lang.String title,
int messageType,
java.lang.String... messages)
Show a modal and not resizable message dialog, with an OK button.
|
static int |
showMessageDialog(java.lang.String title,
java.lang.String... messages)
Show a modal and not resizable message dialog, with an OK button.
|
public static int showMessageDialog(java.lang.String title,
int messageType,
boolean isModal,
boolean isResizable,
java.lang.String... messages)
title - the dialog titlemessageType - the message type. It can be:
MDIDialogBuilder.PLAIN_MESSAGE for a default dialog without any iconMDIDialogBuilder.ERROR_MESSAGE for a dialog with an error iconMDIDialogBuilder.INFORMATION_MESSAGE for a dialog with an information iconMDIDialogBuilder.QUESTION_MESSAGE for a dialog with a question iconisModal - true if the dialog is modalisResizable - true if the dialog is resizablemessages - the list of messages, which will be shown in a vertical gridJFileChooser.APPROVE_OPTIONpublic static int showMessageDialog(java.lang.String title,
int messageType,
java.lang.String... messages)
title - the dialog titlemessageType - the message type. It can be:
MDIDialogBuilder.PLAIN_MESSAGE for a default dialog without any iconMDIDialogBuilder.ERROR_MESSAGE for a dialog with an error iconMDIDialogBuilder.INFORMATION_MESSAGE for a dialog with an information iconMDIDialogBuilder.QUESTION_MESSAGE for a dialog with a question iconmessages - the list of messages, which will be shown in a vertical gridJFileChooser.APPROVE_OPTIONpublic static int showMessageDialog(java.lang.String title,
java.lang.String... messages)
title - the dialog titlemessages - the list of messages, which will be shown in a vertical gridJFileChooser.APPROVE_OPTION, or JFileChooser.CANCEL_OPTION