EventListener11Example -- defining and registering event listeners.
To see this example in action:
  1. Compile the Java source file, EventListener11Example.java:
    	javac EventListener11Example.java
    
  2. Run the class:
    	java EventListener11Example
    

The source.