How to open maximized window?

How to open maximized window with windows taskbar. I’m using the newest version of processing, and any version of size(displayWidth, displayHeight); surface.setResizable(true); surface.setLocation(0, 0); doesn’t work.

Use command fullSize - see reference

(fullScreen())

I don’t mean full screen. I mean this:

Hi @Rafsing

I think the main Processing 3.0 issue here is you can’ t use variables as arguments for size() on setup() anymore. Have a look at: https://processing.org/reference/settings_.html

But then, using `surface’ for everything it works for me:

void setup() {
  surface.setResizable(true);
  surface.setSize(displayWidth, displayHeight) ;
  surface.setLocation(0, 0);
}

void draw() {
  background(255, 0, 0);
  ellipse(width/2, height/2, 100, 50);
}

Hello,

There is a related discussion here:

:)

1 Like

Use the FX2D renderer mode and the maximise button becomes available.

1 Like

What system are you using?

I found this discussion, but so far it shows that there is no solution and must be done manually.

I’m on Linux (Xubuntu, Ubuntu + XFCE)

@micycle has a good point, different renderers have different surface instances
(P2D, P3D, FX2D and the default renderer could act differently)