+2000-07-31 Bryce McKinlay <bryce@albatross.co.nz>
+
+ * java/awt/Component.java (toString): Implemented.
+ * java/awt/Container.java (addImpl): Remove FIXME. Only call
+ dispatchEvent() to dispatch the event.
+ (removeImpl): Ditto.
+
2000-07-30 Anthony Green <green@redhat.com>
* java/awt/Component.java: Add treeLock object.
ContainerEvent ce = new ContainerEvent (this,
ContainerEvent.COMPONENT_ADDED,
comp);
-
- // FIXME: is this right?
dispatchEvent (ce);
- if (containerListener != null)
- containerListener.componentAdded (ce);
}
public void remove (int index)
ContainerEvent ce = new ContainerEvent (this,
ContainerEvent.COMPONENT_REMOVED,
r);
-
- // FIXME: is this right?
dispatchEvent (ce);
- if (containerListener != null)
- containerListener.componentAdded (ce);
}
public void remove (Component comp)