How do I close one window in order Open another one

Hi, I write a program in which I have to open two windows one by one(first at a time). Can anybody guide me on how which command will help me to close first window?

void setup() {
  size(700, 400);
  // I want to exit this window and open another one
  square();
}

void square() {
  size(400, 400,P3D);
  }  

Answers

Sign In or Register to comment.