int (@DialogMessage String message, @DialogTitle String title, @NlsContexts.Button String yes, @NlsContexts.Button String no, @NlsContexts.Button String cancel, Icon icon) { return MessageDialogBuilder.yesNoCancel(title, message) .yesText(yes) .noText(no) .cancelText(cancel) .icon(icon) .guessWindowAndAsk(); }