Event, Event Driven Program, Event Source, Listener.

Q13.Explain the following:

  1. Event
  2. Event Driven Program
  3. Event Source     
  4. Listener.


  1.  Event: An Event is an object that represents some occurrence.Often events correspond to user actions such as pressing a mouse button, selecting an item from a menu, or typing in a text field.
  2. Event-Driven Program: A program that is oriented around a GUI responding to events from the user is called event-driven.
  3. Event Source: The event source is the GUI component in which the event occurred.
  4. Listener: A listener is an object that is “waiting” for event to occur and can respond in some way when it does.


One thought on “Event, Event Driven Program, Event Source, Listener.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: