I'm looking for a quick and dirty way in Java to flash up a message box to the user, to return when they click OK. It's for an application termination condition, so I'm really not interested in oh here's mah JFrame and all the rest of it. The MessageBox function in the Windows API is exactly what I want, except I'm stuck in Javaland. Any recommendations for similar functions?
Edit: Now that I come to think of it, how the hell do you exit a Java app? The only way I've ever managed to close mine is by making a JFrame and having EXIT_ON_CLOSE.
Edit: Got it.