Hey, i would like to execute a window that has no x minimise and so no buttons on top

I would like to have a window when i start a programm,that closes after like 10 seconds without any exit store down and minimise buttons

1 Like

Hi @Lissie,

If you are referring to the window title bar, then yes it’s possible to remove it:

Example using fullScreen() and then setting the window size and location:

void settings() {
  fullScreen();
}

void setup() {
  surface.setSize(500, 500);
  surface.setLocation(200, 200);
}

void draw() {
  background(0);
  ellipse(mouseX, mouseY, 20, 20);
}

For that you need a way to measure time, check this for ideas on how to implement it:

Also the exit() function to terminate the sketch.

1 Like