Events o An event can be defined as a type of signal to the program that something has happened o The event is generated by external user actions such as mouse movements. mouse clicks, and keystrokes, or by the operating system, such as a timer Introduction to Java Programming, revised by Dai-kaiyuLiang,Introduction to Java Programming,revised by Dai-kaiyu 4 Events ⚫An event can be defined as a type of signal to the program that something has happened. ⚫The event is generated by external user actions such as mouse movements, mouse clicks, and keystrokes, or by the operating system, such as a timer