* This method causes the control class to place every gui option into the
* rename configuration and update the preview.
*/
protected synchronized void optionsChanged() {
TreePath[] expandedSource = getExpanded(getSourceTree());
TreePath sourceSelected = getSourceTree().getSelectionPath();
TreePath[] expandedTarget = getExpanded(getTargetTree());
TreePath targetSelected = getTargetTree().getSelectionPath();
/*
* Now change the configuration
*/
fileRenamer.setCopyUnmodifiableFiles(this.optionPanel.copyIfUnmodifiableBox.isSelected());
fileRenamer.getConfig().fireConfigChange();