442
Writing program scripts with Java
Responding to events
The
processEvent
method is called each time an event is received, passing an
Event
object containing the event's
value
time stamp
public void processEvent( Event event ) { . . . }