if (samples.length > 0)
samples[0].getDeviceContext().sampleMemoryDefrag(false);
} catch (ZDeviceNotRunningException e) {
} catch (RemoteUnreachableException e) {
}
z.updateProgressElement(this, ProgressMultiBox.PROGRESS_DONE_TITLE);
z.endProgressElement(this);
}
if (errors == samples.length)
JOptionPane.showMessageDialog(ZoeosFrame.getInstance(), (samples.length > 1 ? "None of the source samples could be retrieved" : "The source sample could not be retrieved"), "Problem", JOptionPane.ERROR_MESSAGE);
else if (errors > 0)