java - JOptionPane : change the Icon -
i have layout in joptionpane:
jcheckbox checkbox = new jcheckbox("do not show message again."); string message = "level loaded successfully"; object[] params = {message, checkbox}; int n = joptionpane.showconfirmdialog(p, params, "draft saving", joptionpane.plain_message); everything fine except display of icon..,
ideally not have icon (hence joptionpane.plain_message), default icon.
how can change ?
jason
use version of method takes icon parameter, , pass in null icon.
Comments
Post a Comment