Enable maximize button from frame

In mac the maximize window button on my sketch is disabled. I would like to enable it.
I tried surface.setResizable(true) but it doesn’t enable the button, only allows to manually resize the window.
How do I do this?

16

Hi, I have the same problem, have you solved it? How?

The following works on my Mac OS. The button is activated and it works as expected when clicked (Processing 4.0.1).

void setup() {
  size(400,400);
  background(209);
  surface.setResizable(true);
}

void draw() {
  
}

Thanks, I use processing-3.5.3 and with this version creates problems on Mac