Problem with window size

So I’m new in processing but I have a problem
Every time I start a sketch the size il almost full screen even if I use size (500,300) or (50,30)
For clarify I write

Void setup(){
Void draw() {
Background (190);

But the window is always big as the screen, am I writing something wrong?

1 Like

your posted code give me a error here ( Win 10 / Processing 3.5.3 ), and not a fullscreen Canvas window,

void setup() {
  size(500, 300);
void draw() {
  background (190);
  translate( width/2,height/2);

this version runs, please note the changed Capital letters

but basically, the very first start using the Processing IDE 3.5.3
should actually not be typing code,
/ File / Examples / and play