Processing 3 settings() method requires size() before setup() in exported Java sketches
Goal Migrate a legacy Processing 2 sketch to Processing 3 or later and export it as a Java application while preserving the intended window size and renderer configuration. Constraint Processing 3 moved surface configuration calls such as size() , fullScreen() , smooth() , and pixelDensity() into the optional settings() method, which executes before setup()