adspace


What is an event and what are the models available for event handling?

Answer Posted / Sumit Kumar Singh

In Swing, an event represents a significant change in state that occurs within the system. Events can trigger actions when certain conditions are met (e.g., a mouse click or key press). The two event handling models in Swing are: the observer pattern (using inner classes to create event listeners) and the Multicast Event Listener Architecture (MELA, which supports multiple listeners for an event).

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

No New Questions to Answer in this Category !!    You can

Post New Questions

Answer Questions in Different Category