Thursday, February 12, 2009

Why won’t the JVM terminate when I close all the application windows

Question :Why won’t the JVM terminate when I close all the application windows?
Answer :The AWT event dispatcher thread is not a daemon thread. You must explicitly call System.exit to terminate the JVM.

No comments: