serial port message.. in progress

This commit is contained in:
benfry
2002-11-19 07:05:09 +00:00
parent ccb1c9b1f8
commit d293ae2c62
3 changed files with 25 additions and 6 deletions

View File

@@ -1072,6 +1072,15 @@ afterwards, some of these steps need a cleanup function
// (important!) has to be done before opening,
// otherwise the new dir is set to sketchDir..
// remove .jar, .class, and .java files from the applet dir
File appletDir = new File(newSketchDir, "applet");
File oldjar = new File(appletDir, sketchName + ".jar");
if (oldjar.exists()) oldjar.delete();
File oldjava = new File(appletDir, sketchName + ".java");
if (oldjava.exists()) oldjava.delete();
File oldclass = new File(appletDir, sketchName + ".class");
if (oldclass.exists()) oldclass.delete();
base.rebuildSketchbookMenu();
// open the new guy