mirror of
https://github.com/processing/processing4.git
synced 2026-02-10 17:19:25 +01:00
more package mania.. preproc now inserts "public" in front of void setup
This commit is contained in:
@@ -92,7 +92,7 @@ public class PdeRuntime implements PdeMessageConsumer {
|
||||
"-Djava.library.path=" + sketch.libraryPath, // might be ""
|
||||
"-cp",
|
||||
sketch.classPath,
|
||||
"PApplet",
|
||||
"processing.core.PApplet",
|
||||
PApplet.EXTERNAL_FLAG + location,
|
||||
sketch.mainClassName
|
||||
};
|
||||
@@ -143,7 +143,6 @@ public class PdeRuntime implements PdeMessageConsumer {
|
||||
//System.out.println("draw mode");
|
||||
while ((applet.frame != 1) && (!applet.finished)) {
|
||||
try {
|
||||
//System.out.println("waiting to complete drawing");
|
||||
Thread.sleep(100);
|
||||
} catch (InterruptedException e) { }
|
||||
}
|
||||
@@ -336,6 +335,7 @@ public class PdeRuntime implements PdeMessageConsumer {
|
||||
|
||||
|
||||
public void message(String s) {
|
||||
//System.err.println("M" + s.length() + ":" + s);
|
||||
// this is PApplet sending a message (via System.out.println)
|
||||
// that signals that the applet has been quit.
|
||||
if (s.indexOf(PApplet.EXTERNAL_QUIT) == 0) {
|
||||
|
||||
Reference in New Issue
Block a user