ComponentListener doesn't provide notification when, say, a frame is minimized or closed, just when setVisible() is called I presume (I haven't testing hiding a component behind something).
That actual problem, for the record, is that I have an animated component and I want it to be able to stop the animation thread if, say, the frame it's being displayed in is disposed(). Is there a way to track this?
posted 12 years ago
Problem solved. AncestorListener seems to get notification when a frame is disposed.