Dimension of the display window

What are the sizes of the window display?

I’m not sure to get your question.

You set the size you want in the setup() function with the size() function.

Yes i know that but I need to set a size for the window display bigger than 640,480. If i set a random size bigger than 640,480 the processing sketch stops working.

Can you post your code please? It is not supposed to happen, you should be able to use the size you want!

You can set the size of the Sketch with size(int, int) and get the respective size with width or height.

size(500, 500);
int x = width;
int y = heigth;

You can set the sketch to any size you want. Just try to avoid using variables inside it. At least that’s what it started telling me some weeks ago…