| Author |
multiple objects listening to same event
|
Gary McClelland
Greenhorn
Joined: Jan 04, 2001
Posts: 4
|
|
|
Is there a reason I can't get multiple AWT objects to listen for the same event? E.g., a mouse event in a panel which itself is part of a panel. I can get either panel alone to be notified of the event, but I can't get them both to be notified. If contained panel implements MouseListener then the panel containing it doesn't get notified. If I remove MouseListener from the contained panel, then the containing panel gets notified. Can't I have multiple objects listening for events on the same object? Or does that create synchronization problems?
|
 |
 |
|
|
subject: multiple objects listening to same event
|
|
|