tagEditorFrame.getEditorSettings().prepareAudioProcessing();
/*
* Perform processing
*/
FileRenamer fileRenamer = new FileRenamer(
RenamePanel.this.tagEditorFrame,
(File[]) RenamePanel.this.audioFiles.getAudioFiles()
.toArray(new File[0]), dirPattern, filePattern,
getTransformationList().getTransformSet());
fileRenamer.getConfig().setExtendTrackNumbers(
getExtendTrackNumbers().isSelected());
Thread t = new Thread(fileRenamer);
t.start();
/*
* Save patterns and transformations
*/
if (!fileRenamer.isAborted()) {
// Save he selected indices
int[] indices = getTransformationList().getSelectedIndices();
PreferencesManager.putIntArray("renamepanel.transformations",
indices);
PreferencesManager.put("renamepanel.directory",