javax.swing.JOptionPane.showMessageDialog() 方法
2013-12-30 09:14
561 查看
javax.swing.JOptionPane.showMessageDialog() 方法
![]() | //default title and icon JOptionPane.showMessageDialog(frame, "Eggs are not supposed to be green.", "Message"); |
![]() | //custom title, warning icon JOptionPane.showMessageDialog(frame, "Eggs are not supposed to be green.", "Inane warning", JOptionPane.WARNING_MESSAGE); |
![]() | //custom title, error icon JOptionPane.showMessageDialog(frame, "Eggs are not supposed to be green.", "Inane error", JOptionPane.ERROR_MESSAGE); |
![]() | //custom title, no icon JOptionPane.showMessageDialog(frame, "Eggs are not supposed to be green.", "A plain message", JOptionPane.PLAIN_MESSAGE); |
![]() | //custom title, custom icon JOptionPane.showMessageDialog(frame, "Eggs are not supposed to be green.", "Inane custom dialog", JOptionPane.INFORMATION_MESSAGE, icon); |
相关文章推荐
- javax.swing.JOptionPane.showMessageDialog() 方法(转:执着的笨蛋—BlogJava)
- javax.swing.JOptionPane.showMessageDialog() 方法
- javax.swing.JOptionPane.showMessageDialog() 方法
- javax.swing.JOptionPane.showMessageDialog() 方法
- javax.swing.JOptionPane.showMessageDialog() 方法
- javax.swing.JOptionPane.showMessageDialog() 方法
- Swing中弹出对话框的几种方式_JOptionPane.showMessageDialog等详解
- Swing中弹出对话框的几种方式_JOptionPane.showMessageDialog等详解
- (java)Swing中弹出对话框的几种方式_JOptionPane.showMessageDialog
- Swing中弹出对话框的几种方式_JOptionPane.showMessageDialog等详解
- Swing中弹出对话框的几种方式_JOptionPane.showMessageDialog等详解
- Swing中弹出对话框的几种方式_JOptionPane.showMessageDialog等详解
- Swing 写的客户端程序在java web start 运行,多语言过程中,JOptionPane.showMessageDialog() 按钮多语言问题
- JOptionPane.showMessageDialog(null," ")中的null 含义
- 弹出警告对话框JOptionPane.showMessageDialog
- JOptionPane.showMessageDialog的使用
- Java 项目无法引用javax.swing.JOptionPane JAVA引用JOptionPane类报错 解决方案
- java小程序之(GUI)确认对话框JOptionPane.showConfirmDialog
- java小程序之(GUI)输入对话框JOptionpane.showInputDialog
- Java javax.swing.JOptionPane包