title: swing get visible frames
body: <p>How can I find all visible frames/dialogs in program? I could subclass JFrame/JDialog classes to update the list of currently visible windows, but if there is a built-in solution for this that would be much better</p>