String msg = StrUtil.formatMessage(TEXT_TOO_MANY_MATCHES, matches.size()); DialogUtil.prompt(msg, TITLE_TOO_MANY_MATCHES, REFINE_BUTTONS, (response) -> { if (response.hasResponse(BTN_REFINE_LABEL)) { matches.clear();
String msg = StrUtil.formatMessage(TEXT_TOO_MANY_MATCHES, matches.size()); DialogUtil.prompt(msg, TITLE_TOO_MANY_MATCHES, REFINE_BUTTONS, (response) -> { if (response.hasResponse(BTN_REFINE_LABEL)) { matches.clear();