new class loader and additional jni fixes

This commit is contained in:
benfry
2005-02-01 04:10:22 +00:00
parent 0182bc6fce
commit 944e39a9d3
9 changed files with 450 additions and 72 deletions

View File

@@ -1039,6 +1039,22 @@ public class PdeEditor extends JFrame
presentationWindow.toFront();
}
try {
if (!sketch.handleRun()) return;
runtime = new PdeRuntime(sketch, PdeEditor.this);
runtime.start(presenting ? presentLocation : appletLocation);
watcher = new RunButtonWatcher();
} catch (PdeException e) {
error(e);
} catch (Exception e) {
e.printStackTrace();
}
// this doesn't seem to help much or at all
/*
final SwingWorker worker = new SwingWorker() {
public Object construct() {
try {
@@ -1058,6 +1074,7 @@ public class PdeEditor extends JFrame
}
};
worker.start();
*/
//sketch.cleanup(); // where does this go?
}