// -
// %2","%4
// -
// %3"});
filenamePattern.removeDuplicates();
new TagFromFilenameExtender(filenamePattern);
((JTextComponent) this.filenamePattern.getEditor().getEditorComponent())
.setHighlighter(ListHighlighter
.createTagFromFilenameHighlighter());
String sel = PreferencesManager.get("tagpanel.filename");
filenamePattern.getTextField().setText(sel);
this.directoryPattern = new AutoCompleteComboBox(
UserComboBoxStringsManager
.getList("tagpanel.directory.pattern"));// new
directoryPattern.removeDuplicates();
// String[]{"/home/kikidonk/mus/%1/%2","c:\\home\\music\\%1\\%2"});
new TagFromFilenameExtender(directoryPattern);
((JTextComponent) this.directoryPattern.getEditor()
.getEditorComponent()).setHighlighter(ListHighlighter
.createTagFromFilenameHighlighter());
sel = PreferencesManager.get("tagpanel.directory");
directoryPattern.getTextField().setText(sel);