// TODO!! should use a signal here to achieve correct ordering of threads
try {
z.setProgressElementIndeterminate(progressOwner, true);
z.updateProgressElementTitle(progressOwner, "Copying " + f_is.getName() + " to " + ((ContextEditableSample) sobj).getSampleDisplayName());
((ContextEditableSample) sobj).newSample(f_is, f_is.getName());
f_is.zDispose();
} catch (NoSuchSampleException e) {
JOptionPane.showMessageDialog(ZoeosFrame.getInstance(), e.getMessage(), "Problem", JOptionPane.ERROR_MESSAGE);
errors++;
continue;
} catch (IsolatedSampleUnavailableException e) {