O'Reilly logo
  • Michael ss thinks this is interesting:

Many times, the event handlers are defined by creating inner anonymous classes.

From

Cover of Java Programming

Note

很多时候,event handlers在匿名类产生时就被定义了。