Re: How to fetch all Dialogs
On Sat, Oct 04, 2003 at 05:06:35AM -0400,
> From a kind of backoffice application that plugs into a running JVM I
> want to list all open dialogs, anyone know how to fetch all the open
> No; java.awt.Frame.getFrames() does not return dialogs..
> Any pointers appreciated.
Dialogs can only be created with a parent Frame. So, to find all the
Dialogs you'll have to search though all the Frames using the
getOwnedWindows to find out the children of a particular Frame.