import jalview.util.ColorUtils;
import jalview.util.FileUtils;
import jalview.util.HttpUtils;
+import jalview.util.IdUtils;
+import jalview.util.IdUtils.IdType;
import jalview.util.ImageMaker;
import jalview.util.ImageMaker.TYPE;
import jalview.util.MessageManager;
if (avm.containsArg(Arg.APPEND) || avm.containsArg(Arg.OPEN))
{
commandArgsProvided = true;
- final long progress = System.currentTimeMillis();
+ final long progress = IdUtils.newId(IdType.PROGRESS);
boolean first = true;
boolean progressBarSet = false;
}
}
if (progressBarSet && desktop != null)
+ {
desktop.setProgressBar(null, progress);
-
+ }
}
// open the structure (from same PDB file or given PDBfile)