We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi, Im new to processing and I have just got started using it with java. At the minute I have a java swing application which spawns a separate sketch window using PApplet.runSketch(). When the window is closed either by pressing escape, pressing the X or calling .exit() on the PApplet, the entire program including the swing main program closes with it.
Is there a way I can make it so when sketch is closed it does not kill off my entire program and just closes the sketch window?