void () { String message = LangBundle.message("dialog.message.are.you.sure.you.want.to.revert.registry.settings.to.default.values"); int r = Messages.showYesNoDialog(myContent, message, LangBundle.message("dialog.title.revert.to.defaults"), Messages.getQuestionIcon()); if (r == Messages.YES) { Registry.getInstance().restoreDefaults(); myModel.fireChanged(); invalidateActions(); } }