We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm trying to make a user interface with controlp5. The idea is that when the user presses a button, the main sketch with the controls closes and a new window opens with the main show. I know how to open a new applet using JFrame, but I can't seem to close the original window without the second one also closing (been using exit() so far).