We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Where do i find reference for surface.setSize() or surface in general? I didn't find it on Processing reference site.
You could consult the Processing Javadoc for more detailed documentation: http://processing.github.io/processing-javadocs/core/
@GoToLoop: Please don't post link-only comments. At least explain why you're posting the link.