Must take inheritance into account (cont'd)
Example: In sample program later,
- source object can detect mouse events on Frame,
and
- notify MouseListener of
occurrence of mouse events
- even though Frame
does not define a registration method for mouse events.