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

For example, when you click a button or move the mouse, an external event occurs. An application may generate an event on its own for others to consume whenever a certain internal condition is satisfied.

From

Cover of Java Programming

Note

鼠标事件是external event,而程序在条件满足时将产生internal event