posted 21 years ago
Yeah, um do the whole ancestor thing.
The dialog just wants to know what window/frame/whatever is it's parent so if the parent is closed, the JVM can take care of destroying all of it's child windows too.
Heck, you could probably just pass a null value to the constructor and everything will be hunky-dory if it's modal and you don't have other threads floating around out there to complicate things for you.
Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED