- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener
public class Observer
extends java.lang.Object
implements java.awt.event.ActionListener
This class encapsulates functionality for drawing successive 500x500 frames. From one
frame to the next, a red dot travels along a diagonal from an upper-left to
lower-right direction, starting at the origin. This class encapsulates
functionality as an ActionListener, so that objects of this type can listen
for events that trigger the drawing of the successive frames.
- Author:
- mb