Java.swing ... WindowDestroyer() ?

Hi guys. I'm beginning to work on some simple Java GUI's and I have a textbook which has a demo program that's meant for me to copy into an IDE of my own. Now everything works up until the part

WindowDestroyer myListener =new WindowDestroyer();

It says "cannot find symbol : class WindowDestroyer" when I compile. So is my textbook defining an object of a non-existent class or am I just missing something?

Thanks for your help.

[491 byte] By [ApRiXa] at [2007-11-27 5:51:08]
# 1
It's not part of any standard Java API that I've ever heard of. They either made itup for the sake of an example, or defined in elsewhere in the book. Or it wasdefined the editted out.
Hippolytea at 2007-7-12 15:39:43 > top of Java-index,Java Essentials,Java Programming...
# 2
Oh, yes you are right. It is defined way earlier in the textbook that I didn't care to look at. Thanks so much!
ApRiXa at 2007-7-12 15:39:43 > top of Java-index,Java Essentials,Java Programming...