@@ -705,7 +705,7 @@ public class PApplet implements PConstants {
705705 protected boolean exitCalled;
706706
707707 // ok to be static because it's not possible to mix enabled/disabled
708- static protected boolean disableAWT;
708+ static protected boolean disableAWT = System.getProperty("processing.awt.disable", "false").equals("true"); ;
709709
710710 // messages to send if attached as an external vm
711711
@@ -9932,19 +9932,21 @@ static public void runSketch(final String[] args,
99329932 System.exit(1);
99339933 }
99349934
9935- boolean external = false;
9936- int[] location = null;
9937- int[] editorLocation = null;
9935+ boolean external = System.getProperty("processing.external", " false").equals("true"); ;
9936+ int[] location = System.getProperty("processing.location", null) != null ?
9937+ parseInt(split(System.getProperty("processing.location"), ',')) : null;
99389938
9939+ int[] editorLocation = System.getProperty("processing.editor.location", null) != null ?
9940+ parseInt(split(System.getProperty("processing.editor.location"), ',')) : null;
99399941 String name = null;
99409942 int windowColor = 0;
99419943 int stopColor = 0xff808080;
9942- boolean hideStop = false;
9944+ boolean hideStop = System.getProperty("processing.stop.hide", " false").equals("true") ;
99439945
99449946 int displayNum = -1; // use default
99459947 boolean present = System.getProperty("processing.present", "false").equals("true");
99469948 boolean fullScreen = System.getProperty("processing.fullscreen", "false").equals("true");
9947- float uiScale = 0 ;
9949+ float uiScale = parseInt(System.getProperty("processing.uiScale", "0"), 0) ;
99489950
99499951 String param, value;
99509952 String folder = calcSketchPath();
0 commit comments