fixes to "save as", not yet stress tested

This commit is contained in:
benfry
2005-05-01 22:00:45 +00:00
parent 686669ece6
commit 4146d6ad8d
4 changed files with 225 additions and 179 deletions

View File

@@ -79,4 +79,12 @@ public class SketchCode {
Base.saveFile(program, file);
modified = false;
}
/**
* Save this file to another location, used by Sketch.saveAs()
*/
public void saveAs(File newFile) throws IOException {
Base.saveFile(program, newFile);
}
}