I\'d like to display a modal (progress) dialog above a Frame
, even if that Frame
isn\'t the active window. However, displaying a dialog causes it
I don't think you can do this with a modal dialog.
However the following works for a non-modal dialog:
dialog.setFocusableWindowState( false );
dialog.setVisible(true);
dialog.setFocusableWindowState( true );
When the dialog displays it will not have focus, but if you click on it, it will gain focus. You could try this on a modal dialog to see what happens.