Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Howto close all open windows?

843807Sep 26 2008 — edited Sep 27 2008
Hi,

I am developing some kind of library, and I would like to close all open windows, dialogs, tooltips in the error case.
The problem is I don't have control about the windows currently open, many are instantiated by plug-ins.

Is there a way to get a list of all windows? This way I could go throw the list and simply call dispose() on all.

Thank you in advance, Clemens
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 25 2008
Added on Sep 26 2008
2 comments
204 views