Re: [Java-gnome-developer] Quitting windows and apps

2011-04-28 Thread Andrew Cowie
On Tue, 2011-04-26 at 11:08 -0600, Adam Balan wrote: > My issue is that when I close one window I don’t want all my windows > to close. Current I am using Gtk.mainQuit(); to close windows. To force a Window to "close", call Widget's hide() on the Window you're finished with. // I'm done

Re: [Java-gnome-developer] Quitting windows and apps

2011-04-28 Thread Andrew Cowie
On Tue, 2011-04-26 at 11:08 -0600, Adam Balan wrote: > My issue is that when I close one window I don’t want all my windows > to close. Current I am using Gtk.mainQuit(); to close windows. To force a Window to "close", call Widget's hide() on the Window you're finished with. // I'm done

[Java-gnome-developer] Quitting windows and apps

2011-04-26 Thread Adam Balan
Hi All, Let's assume I have Program X that starts window c. Window c can create a new instance of its self by going something like: C c = new C(); c.newC(); // this starts the new instance. So now you have the main Window running along with a identical window sitting on top of it. M