admin 管理员组

文章数量: 1087139


2024年4月27日发(作者:补码减补码怎么算)

ssageDialog(null, "错误消息!

", "错误",

_MESSAGE);

ssageDialog(null, "信息消息。

",“提示", ATION_MESSAGE);

ssageDialog(null, "警告对话

框!", "警告",

G_MESSAGE);

ssageDialog(null, "没有图标

的提示!", "信息",

_MESSAGE);

Icon icon = new

ImageIcon(getClass().getResource("

"));

ssageDialog(null, "

自定义图片的信息提示!", "信息",

ATION_MESSAGE, icon);

Object[] options = { "是的", "不是", "不确定" };

int n =

tionDialog(this,

"你喜欢看定影吗?", "自定义询问",

_NO_CANCEL_OPTION,

ON_MESSAGE,

null, options, options[2]);

Icon icon = new

ImageIcon(getClass().getResource("

"));

Object[] options = { "是的", "不是", "不确定

" };

int n =

tionDialog(this,

"你喜欢看定影吗?",

"自定义询问",

_NO_CANCEL_OPTION,

icon, options, options[2]);

ON_MESSAGE,

int n = nfirmDialog(this, "

你喜欢蓝色吗?", "询问",

_NO_OPTION);

Object[] options = { "Yes, please", "No way!" };

int n =

"Would you like green eggs and

_NO_OPTION,

options, // the titles of buttons

options[0]); // default button

tionDialog(this,

ham?", "A Silly Question",

ON_MESSAGE, null,

title

Object[] possibilities = { "苹果", "香蕉", "橘

子" };

String s = (String)

putDialog(this,

"你喜欢什么样的水果?:n",

"Customized Dialog",

ON_MESSAGE, null,

possibilities, "ham");

inputValue = String

putDialog("请输入一个值:");


本文标签: 喜欢 信息 补码 消息 警告