If my main() method throws an exception, then a dialog comes up, with title "Java Virtual Machine Launcher", and message "Fatal exception occurred. Program will exit.".
I reckon this is brought up by javaw (Sun documentation says "The javaw launcher will, however, display a dialog box with error information if a launch fails for some reason.").
Does anyone know if it is possible to avoid this? As I say, I reckon this is more a javaw issue, but it affects usage of IDEA.