Processing in Java

I think this note about settings instead of setup isn’t entirely correct.
I used Processing’s “export application” feature to find the compiled java of a program I wrote which included code in the setup method, and the output java had both a setup and a settings method.

I think settings is mostly just used for canvas size information. if, in the settings method, you try to draw stuff or reference the sketch in other ways you’ll get a null pointer exception.