国内下载WhatsApp网页版
gzhtd 很简单只要在blWhatsApp网页版好友头像空白的actionlistener里面加代码int i = JOptionPane.shoWhatsApp网页版用户数据泄露wConfirmDialog(null,"","",JOptionPane.YES_NO_OPTION);
if(i==0){
System.exit(0);
}
这样就ok了 939538064 if(JOptionPane.showConfirmDialog(null, "Will you whatsappwhatsapp网页版苹果登陆不了网页版电脑版怎么使用close?")==0)whatsapp网页版显示无法注册{
Swhatswhatsapp网页版商业下载安装app网页版最新官方网站ystem.exit();
}
null那里对应的是你那个组件,或者null都可以。
如果返回为0,表示用WhartsApp好友在哪里户选择了yes,否则为no wkq1206_xiazai 给整个JFrame添加个监视器
f.addWindowListener(new WindowAdapter() { public void windowClosing(Windowhatsapp网页版加好友视频wEvent we) { int ret = JOptionPane.showConfirmDialog(null, "确定不玩了吗?","Attention",JOptionPane.OK_OPTION);if(ret==JOptionPane.OK_OPTION)System.exit(0); } }); pengjie1108 imwhatsapp网页版 视频可以造假吗port java.awt.event.WindowAdapter;import java.awt.event.WindowEvent;import javax.swing.JFrame;import javax.swing.JOptionPane;public class JButtonTest extends JFrame{ public static void main ( String[] args ) { JButtonTest b = new JButtonTest (); b.addWindowListener (new WindowAdapter () { @Override public void windowClosing ( WindowEvent e ) { int exi = JOptionPane.showConfirmDialog (null, "确定不玩了么?", "友情提示", JOpwhatsapp网页版营销封号tionPane.YES_whatsapp网页版电脑在线登录NO_OPTION, JOptionPane.QUESTION_MESSAGE); if (exi == JOptionPane.YES_OPTION) { System.exit (0); } else { return; } } }); b.sWhatsApp网页版登录不上了etSize (30wwhatsapp网页版官方下载国外版hatsapp网页版软件养号0, 300); b.setLocatio如何下载whatsapp网页版nRelativeTo (null); b.setDewhats官网最新下载安卓faultCloseOperation (JFrame.DO_whatsapp网页版的用户名NOTHING_ON_CLOSE); b.setVisible (true); }}
WhatsApp中文网页版 - WhatsApp官网请注明:WhatsApp中文网页版 - WhatsApp官网 » 国内下载whatsapp网页版 java窗口关闭时提示是否关闭窗口,弹出有确定和取消按钮的提