2081 5

CSC419 ยท 2081 ยท 5 marks

Describe any two types of events.

Describe any two types of events. [5]

Advanced Java ProgrammingChapter 3: Event HandlingHandling Action Events, Key Events, Focus Events, Mouse Even

In Java, an event is an object that describes a state change in a source. Events are generated when a user interacts with GUI components such as clicking a button, pressing a key, moving the mouse, etc. Java uses the Delegation Event Model to handle events. --- Mouse events are generated when the...