This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
    It is sorta covered in the JavaRanch Style Guide.
    subject: What is source and listener ?
    Similar Threads
    separate Event Listener class
    How caugth a character with Canvas ?
    event handling
    working on celphone's keypad