my dog learned polymorphism
The moose likes Beginning Java and the fly likes What is source and listener ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "What is source and listener ?" Watch "What is source and listener ?" New topic

What is source and listener ?

madhav changala
Ranch Hand

Joined: Dec 20, 2005
Posts: 57
i am new java technology.can any one tel me what is source and Listener.
i will be happy if u can explain with example
thanks in advance

marc weber

Joined: Aug 31, 2004
Posts: 11343

Welcome to JavaRanch!

Here are a couple of Sun tutorials that should help:
  • Handling Events
  • Introduction to Event Listeners

  • [ December 24, 2005: Message edited by: marc weber ]

    "We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
    I agree. Here's the link:
    subject: What is source and listener ?
    It's not a secret anymore!