public class JOptionPaneUtilities
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
static int |
showConfirmDialog(java.lang.String message)
弹出默认询问窗口
|
static int |
showConfirmDialog(java.lang.String message, java.lang.String title)
弹出询问窗口
|
static int |
showConfirmDialogWithCancel(java.lang.String message)
弹出带取消的询问窗口
|
static int |
showConfirmDialogWithYesNo(java.lang.String message, java.lang.String title)
弹出是和否的询问窗口
|
static void |
showErrorMessageDialog(java.lang.String message)
弹出错误提示窗口
|
static void |
showMessageDialog(java.lang.String message)
弹出提示窗口
|
static void |
showMessageDialog(java.lang.String message, java.lang.String title)
弹出提示窗口
|
public static int showConfirmDialogWithCancel(java.lang.String message)
message
- 提示信息public static int showConfirmDialog(java.lang.String message, java.lang.String title)
message
- 提示信息title
- 标题public static int showConfirmDialogWithYesNo(java.lang.String message, java.lang.String title)
message
- 提示信息title
- 标题public static int showConfirmDialog(java.lang.String message)
message
- 提示信息public static void showErrorMessageDialog(java.lang.String message)
message
- 提示信息public static void showMessageDialog(java.lang.String message)
message
- 提示信息public static void showMessageDialog(java.lang.String message, java.lang.String title)
message
- 提示信息title
- 标题