Java ActionListener is an invisible GUI object that gets its method called when the user performs a certain action.
What is the difference between an ActionListener and an EventListener, especially in the context of Java GUI development?
java user-interface actionlistener event-listener