Re: [Java-gnome-developer] java-gnome Gtk.mainQuit() hangs
Brought to you by:
afcowie
From: Andrew C. <an...@op...> - 2009-01-23 08:54:04
|
On Mon, 2009-01-19 at 16:37 +0100, Adam Ambrus wrote: > in this case, File->Quit hangs the application. Works for me. > also, there is a problem with the initialization process - i have to > restart the jvm everytime Um, I'm not really sure what you're doing, but whatever it is you must only be calling Gtk.init() once per process. [Running a program always involves running a new VM. The only context you don't do that in with monster J2EE application servers which are intended (only) to run code designed to a specific life cycle API and have specific deployment hooks for that purpose] > in real life > there should be a standalone process for each application, right? Yes. Desktop apps are one process per application. AfC Hobart |