public void setVisible(boolean b) {
super.setVisible(b);
if (b)
JOptionPane
.showMessageDialog(
null,
"this software will be working now, Please press the button ENTER ",
"Notes", JOptionPane.WARNING_MESSAGE);
}
为什么JOptionPane.showmessagedialog会弹出两次一样的对话框来?
super.setVisible(b);
if (b)
JOptionPane
.showMessageDialog(
null,
"this software will be working now, Please press the button ENTER ",
"Notes", JOptionPane.WARNING_MESSAGE);
}
为什么JOptionPane.showmessagedialog会弹出两次一样的对话框来?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货