* <code>false</code> if the dialog was shown and the user dismissed it with a
* non-affirmative choice
*/
public boolean ask(Component owner) {
if (pref.get()) {
Option o = Alert.ask(owner, createUi(), title, options, initialOption, messageType);
if (o.isAffirmative()) {
if (doNotShowAgainCheck.isSelected()) {
pref.set(false);
}
return true;
}