[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 173
  • Last Modified:

event listener

Is it true that an Event Source can only have one Listener?Why?
0
hpchong7
Asked:
hpchong7
  • 3
  • 2
1 Solution
 
hpchong7Author Commented:
Hope anyone knows pls answer!Thanks!It would be ask in my exam few days later!
0
 
heyhey_Commented:
my answer is 'no'

btw. what is 'Event Source' ? :)
0
 
MadMikeCommented:
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?
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
hpchong7Author Commented:
Thanks!
I am sorry that apart from actionlistener,I do not know  what kind of listerns Java has!
0
 
hpchong7Author Commented:
THank you very much!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now