mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 21:59:20 +01:00
new class loader and additional jni fixes
This commit is contained in:
@@ -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?
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user