// Job's FileSet needs to contain at least one file
fileSet.add(destFile);
ProgressDialog progressDialog = new ProgressDialog(mainFrame, getTitle());
MkdirJob job;
if(mkfileMode)
job = new MkdirJob(progressDialog, mainFrame, fileSet, allocateSpaceCheckBox.isSelected()?allocateSpaceChooser.getValue():-1);
else
job = new MkdirJob(progressDialog, mainFrame, fileSet);
progressDialog.start(job);
}