It certainly looks to me like that dialog box was designed to appear when System.exit was run. After all, that's what it says.
So without any experience with the product in question, but just based on my experience with how applications are typically designed, I would say yes, that dialog box is designed to pop up under the circumstances it says it's popping up for.
And I see it has a checkbox where you can ask not to see it again. I would check that checkbox if I was the one presented with the dialog.
Thanks everyone. To me it looks like it is doing what it should as the console messages are correct. Just don't like that message and it also clears the interactions dialog/information in DrJava to 'Welcome to DrJava. Working directory is C:\Users\xxxxxx'
I tried to change to System.exit(1) and the same thing happens. I've checked the box so it will not show again. Thanks Paul.
When it is used for evil, then watch out! When it is used for good, then things are much nicer. Like this tiny ad: