ps.close();
String exportDir = ("lib" + File.separator +
"export" + File.separator);
String bagelClasses[] = new File(exportDir).list();
FileOutputStream zipOutputFile =
<BUG>new FileOutputStream(new File(appletDir, projectName + ".jar"));
</BUG>
ZipOutputStream zos = new ZipOutputStream(zipOutputFile);
ZipEntry entry;
for (int i = 0; i < bagelClasses.length; i++) {

ps.close();
String exportDir = ("lib" + File.separator +
"export" + File.separator);
String bagelClasses[] = new File(exportDir).list();
FileOutputStream zipOutputFile =
new FileOutputStream(new File(appletDir, exportSketchName + ".jar"));
ZipOutputStream zos = new ZipOutputStream(zipOutputFile);
ZipEntry entry;
for (int i = 0; i < bagelClasses.length; i++) {
