Java GUI弹出对话框中的几种方式
1.显示一个错误对话框,该对话框显示的 message 为 'alert':
JOptionPane.showMessageDialog(null, "alert", "alert", JOptionPane.ERROR_MESSAGE);
2.显示一个内部信息对话框,其 message 为 'information':
JOptionPane.showInternalMes
转载
2017-06-05 07:01:39 ·
17133 阅读 ·
0 评论