item4.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent Event)
{
int i=JOptionPane.showConfirmDialog(null,"--是否真的需要退出系统","退出确认对话框", JOptionPane.YES_NO_CANCEL_OPTION);
if(i==0)
{
f.dispose();
}
}
}
);
{
public void actionPerformed(ActionEvent Event)
{
int i=JOptionPane.showConfirmDialog(null,"--是否真的需要退出系统","退出确认对话框", JOptionPane.YES_NO_CANCEL_OPTION);
if(i==0)
{
f.dispose();
}
}
}
);
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货