public void update(@NotNull String findText, @NotNull String replaceText, boolean replaceMode, boolean multiline) {
    updateInner(findText, replaceText, replaceMode, multiline);
    boolean needToResetSearchFocus = mySearchTextComponent != null && mySearchTextComponent.hasFocus();
    boolean needToResetReplaceFocus = myReplaceTextComponent != null && myReplaceTextComponent.hasFocus();
    if (needToResetReplaceFocus) myReplaceTextComponent.requestFocusInWindow();
    if (needToResetSearchFocus) mySearchTextComponent.requestFocusInWindow();
    updateBindings();
    updateActions();
    revalidate();
    repaint();
  }
public void update(@NotNull String findText, @NotNull String replaceText, boolean replaceMode, boolean multiline)