void replaceOldTrace() {
   boolean success = owner.replaceOldTrace();
   if (success) setVisible(false);
 }
 void saveNewToFile() {
   owner.saveDialog(new File("./untitiled.jst"));
   setVisible(false);
 }