In a Swing-app is it okay to invoke System.exit() from any thread? (e.g. on the EDT?)
System.exit()
Since the VM is terminated after the System.exit() call I don't think it makes any difference from which thread the call is being made.