</BUG>
if (!engine.compileJava()) {
return;
}
<BUG>String javaName = projectName + ".java";
</BUG>
copyFile(new File(javaName), new File(appletDir, javaName));
int wide = BApplet.DEFAULT_WIDTH;
int high = BApplet.DEFAULT_HEIGHT;
int index = program.indexOf("size(");

File dataDir) {
try {
String program = textarea.getText();
KjcEngine engine = new KjcEngine(program, this);
appletDir.mkdirs();
exportSketchName = engine.writeJava(exportSketchName, false);
if (!engine.compileJava()) {
return;
}
String javaName = exportSketchName + ".java";
copyFile(new File(javaName), new File(appletDir, javaName));
int wide = BApplet.DEFAULT_WIDTH;
int high = BApplet.DEFAULT_HEIGHT;
int index = program.indexOf("size(");
