Loading...
Logo
Processing Forum

wish list: new window size

in General Discussion  •  Other  •  2 months ago  
When Processing starts up, it opens a blank window that for my taste and my monitor is too small. It would be great if we could set a default window size somehow.

cheers

Replies(3)

If you're referring to Processing's IDE, you can modify many of its defaults
@ "preferences.txt" inside Processing's install folder.

Now, if you wanna change 100x100 default screen size of a running program, you may try this out:
Copy code
    final static int GW = 800, GH = 600;
    
    @Override int sketchWidth() {
      return GW;
    }
    
    @Override int sketchHeight() {
      return GH;
    }
    

Thanks, GoToLoop - changing the preferences is exactly what I needed.
That is good to know. That has been bugging me...