What is different between Action listener and event handler | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is different between Action listener and event handler

26th Sep 2017, 5:27 AM
prashant vyas
prashant vyas - avatar
3 Answers
+ 2
Action Listener is LISTENING for a certain action to happen, like the press of a button, move the mouse, or mouse click. So it listens to things the user is doing. Event handler is what the program is doing, change colour. It handles an action performed by the computer, usually in response of the user's actions
26th Sep 2017, 6:12 AM
Limitless
Limitless - avatar
+ 2
that means action listener listener lisen to use and get input process event handler give out put show or give by computer which can base on action listener or other listener or other input codes I am I right?
26th Sep 2017, 8:44 AM
prashant vyas
prashant vyas - avatar
+ 1
Indeed, you're right
26th Sep 2017, 8:55 AM
Limitless
Limitless - avatar