JOptionPane.showMessageDialog(this,"content","title",JOptionPane.INFORMATION_MESSAGE) 还有各种这样的 对话框,像confirmationdialog怎么设置它的字体!!! 指点阿!!thank you in advance!
Font font = new Font("xxx",0,14);
UIManager.put("OptionPane.font", font);
UIManager.put("OptionPane.messageFont", font);
UIManager.put("OptionPane.buttonFont", font);