我有这个布局JOptionPane
:
JCheckBox checkbox = new JCheckBox("Do not show this message again.");
String message = "Level loaded successfully";
Object[] params = {message, checkbox};
int n = JOptionPane.showConfirmDialog(p, params, "Draft saving",
JOptionPane.PLAIN_MESSAGE);
一切都很好,除了Icon
..的显示,
理想情况下,我不想有一个图标(因此是JOptionPane.PLAIN_MESSAGE
),但我得到一个default Icon
.
我怎样才能改变这个?
杰森