Puce
-
2004-07-26
- status: open --> open-accepted
In various classes there are listeners to the parent to
do something when the parent is added or removed. This
is not done very cleanly. I see three different ways:
HierarchyListeners (which currently is used most
often), AncestorListener (better?) or
addNotify/removeNotify in JComponent (no listeners).