Skip to main content

Closing 1 App But Not The Other

No replies
Joined: 2010-08-25

My main class, call it, calls a Desktop Application I created in Netbeans. After the user clicks a button, it returns to, which then calls another desktop application which I created with Netbeans. The thing is, if I close one of them, I end up closing both. Is there a way that I can just close one but not the other?

These GUIs (GUI1 and GUI2) are called by: I changed the main method in and to be called "launch" instead of main. Then in my, I just use

String[] args = {};
GUI1App app = new GUI1App();