8. Explain the Swing delegation event model

In this model, the objects that receive user events notify the registered listeners of the user activity. In most cases the event receiver is a component.

Event Types: ActionEvent, KeyEvent, MouseEvent, WindowEvent etc.

Event Processors: JButton, JList etc.

EventListeners: ActionListener, ComponentListener, KeyListener etc.



3 comments: