public class PDisplayOnRequestOptionMsgDlg extends Object
Modifier and Type | Field and Description |
---|---|
static int |
HIDE_DIALOG |
Constructor and Description |
---|
PDisplayOnRequestOptionMsgDlg() |
Modifier and Type | Method and Description |
---|---|
static void |
clearMsgDialogList()
Clears the list of "Don't display messages"
|
static int |
showDisplayOnRequestMsgDlg(Component parent,
int optionType,
int messageType,
String sTitle,
String sMessage,
String sProp)
Displays the message dialog.
|
public static final int HIDE_DIALOG
public static int showDisplayOnRequestMsgDlg(Component parent, int optionType, int messageType, String sTitle, String sMessage, String sProp)
parent
- the parent of this dialogoptionType
- defines the set of option buttons that will appearmessageType
- defines the type of messagesTitle
- title of the dialogsMessage
- message to be displayedsProp
- the property associated with this dialogThe return values can be one of the following
JOptionPane.CLOSED_OPTION
when the user
clicks on the X,
JOptionPane.OK_OPTION
,
JOptionPane.CANCEL_OPTION
,
JOptionPane.YES_OPTION
,
JOptionPane.NO_OPTION
The option types that are supported by the class are
JOptionPane.YES_NO_OPTION
,
JOptionPane.YES_NO_CANCEL_OPTION
,
JOptionPane.OK_CANCEL_OPTION
,
JOptionPane.DEFAULT_OPTION
public static void clearMsgDialogList()
Copyright © 2003, 2023, Oracle and/or its affiliates.