[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.jdt] Re: Java Application Process doesn't terminate automatically

If the process isn't terminated what threads does it say are still running? (you'll need to "debug" to see this)
Sounds like the AWT Thread is still running. Did you setDefaultCloseOperation() on your JFrame to JFrame.EXIT_ON_CLOSE?
Kevin


Scott wrote:
Hi,

This is my first message, so please excuse me if it isn't the proper
forum.  After starting a simple Swing Java application and closing it via
the X button on the window, the process is not 'terminated' in Eclipse.  I
know it can be terminated in a few ways from Eclipse's gui (on console
menu and in debug view), but I'd love for it to terminate automatically
when I close the main window.  Does anyone know of a way to configure
eclipse to do this?  If not, has anyone at least desired this
functionality?  The thing is that I develop in a manner that involves
frequently launching and testing.  These non-terminated processes pile and
and eat a lot of memory.  Yes, I can get around this by terminating them
manually and having eclipse "Remove all terminated processes on launch",
but every little second helps in the kind of development I do.

Thanks a lot,
Scott