It should also be noted that java.util.Observer and Observable aren't God's
gift to OOP. (For example, on either's javadoc page, go to the top and click
on the USE link. They aren't used in the rest of the
Java API!) There's not a
lot of code in Observable, so if you want to code the Observer
pattern from
scratch or using, say, SwingPropertyChangeSupport, go for it.
[ November 22, 2005: Message edited by: Jeff Albrechtsen ]