Is there any method in AWT or Swing to tell me if there is a modal window (or several) or to return an array from them?
I looked through Window , Dialog , JDialog , SwingUtilities , etc., but could not find it.
(I know that I can go through Window#getWindows and check Dialog#isModal .)
java swing awt modal-dialog
Geoffrey zheng
source share