首页 > 编程语言 > 详细

JSP---调用javax.swing.JOptionPane类的对话框方法

时间:2014-07-18 15:37:15      阅读:605      评论:0      收藏:0      [点我收藏+]

Show an error dialog that displays the message, ‘alert‘:

JOptionPane.showMessageDialog(null, "alert", "alert", JOptionPane.ERROR_MESSAGE);

 

Show an internal information dialog with the message, ‘information‘:
JOptionPane.showInternalMessageDialog(frame, "information","information", JOptionPane.INFORMATION_MESSAGE);

 

Show an information panel with the options yes/no and message ‘choose one‘:
JOptionPane.showConfirmDialog(null,"choose one", "choose one", JOptionPane.YES_NO_OPTION);

JSP---调用javax.swing.JOptionPane类的对话框方法,布布扣,bubuko.com

JSP---调用javax.swing.JOptionPane类的对话框方法

原文:http://www.cnblogs.com/beast-king/p/3852204.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!