fixes to PApplet.main() so that applets run as applications

This commit is contained in:
benfry
2005-05-13 07:06:18 +00:00
parent b51c93b489
commit 4bfd64c54c
4 changed files with 86 additions and 76 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ public class Runner implements MessageConsumer {
params.add(PApplet.ARGS_EXTERNAL);
params.add(PApplet.ARGS_PRESENT);
params.add(PApplet.ARGS_PRESENT_BGCOLOR + "=" +
params.add(PApplet.ARGS_BGCOLOR + "=" +
Preferences.get("run.present.bgcolor"));
params.add(PApplet.ARGS_DISPLAY + "=" +
Preferences.get("run.display"));