dcsimg

Why don't modal dialogs (such as JOptionPane dialog boxes) stay on top?

Nathan Meyers

A modal dialog is one that accepts input while blocking input to other application windows until it is closed. Although it would be nice for the dialog to force itself to stay on top, there is nothing in the definition of modal dialogs that requires it.