mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 17:40:48 +01:00
Backend refactoring: KjcEngine has been split up into separate classes for preprocessing, compiling, and running.
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
// while the kjc engine is in use. takes care of error handling.
|
||||
|
||||
public class KjcApplet extends BApplet {
|
||||
KjcEngine engine;
|
||||
PdeRuntime pdeRuntime;
|
||||
|
||||
public void setEngine(KjcEngine engine) {
|
||||
this.engine = engine;
|
||||
public void setRuntime(PdeRuntime pdeRuntime) {
|
||||
this.pdeRuntime = pdeRuntime;
|
||||
}
|
||||
|
||||
public void run() {
|
||||
@@ -16,8 +16,8 @@ public class KjcApplet extends BApplet {
|
||||
//System.out.println("ex found in run");
|
||||
e.printStackTrace();
|
||||
//engine.error(e);
|
||||
engine.newMessage = true;
|
||||
e.printStackTrace(engine.leechErr);
|
||||
pdeRuntime.newMessage = true;
|
||||
e.printStackTrace(pdeRuntime.leechErr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user