Link to home
Start Free TrialLog in
Avatar of hpchong7
hpchong7

asked on

event listener

Is it true that an Event Source can only have one Listener?Why?
Avatar of hpchong7
hpchong7

ASKER

Hope anyone knows pls answer!Thanks!It would be ask in my exam few days later!
ASKER CERTIFIED SOLUTION
Avatar of heyhey_
heyhey_

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I hope this doesn't sound too smart-ass but, well, here I go.
Here in switzerland we got a saying:

  "Trying is better than reflecting"


While don't agree with this all times, sometimes you are stuck with a problem because you keep hesitating for hours to do something. Just because you think you won't do it optimaly. And afterwards you feel like an idiot, because it was so easy in the end and wasted a lot of time.

Why don't you create a short programm and see what it does if you try to attach to Listeners to you 'Event Source' and see what happens?
Thanks!
I am sorry that apart from actionlistener,I do not know  what kind of listerns Java has!
THank you very much!