public void init(@NlsSafe String name, @NlsSafe String pattern, boolean showAll){
    myNameField.setText(name);
    myFilePattern.setText(pattern);
    myShowFilesCombo.setSelected(showAll);
    setOKActionEnabled(pattern != null && pattern.length() > 0);
  }
public void init(@NlsSafe String name, @NlsSafe String pattern, boolean showAll)