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