Hi!
Is there a away to figure out whether a non-modular JDialog is in the background (behind the JFram) or not?
The idea behind is that I want to have a non-modluar JDialog poping up at a certain state of the program but I want to make sure that user has to read and click something on the dialog even if the user wants to close the main window (JFrame) but it should be possible to work in the main window while the popup is open.
All I have found in the API until now is the isVisible() methode but that thing just checks whether the dialog is visible at all not caring if the dialog is behind a window or not.
cheers
frag
patrick.metz@epost.de
Is there a away to figure out whether a non-modular JDialog is in the background (behind the JFram) or not?
The idea behind is that I want to have a non-modluar JDialog poping up at a certain state of the program but I want to make sure that user has to read and click something on the dialog even if the user wants to close the main window (JFrame) but it should be possible to work in the main window while the popup is open.
All I have found in the API until now is the isVisible() methode but that thing just checks whether the dialog is visible at all not caring if the dialog is behind a window or not.
cheers
frag
patrick.metz@epost.de