Table of Contents Chapter Index Previous Slide Next Slide 431
Processing events in Java

Writing program scripts with Java
Processing events in Java
  • If multiple events arrive at once, then the processEvent method is called multiple times

  • The optional eventsProcessed method is called after all (or some) events have been handled

    public void eventsProcessed ( ) {
        . . .
    }