I just started to learn how to use action listeners. To my understanding it works in the following way:
There are some classes which contains \"addActionLis
Beware that methods removeActionListener exists for a reason. You can skip listeners clean up if objects you listen to will die with object that handles events. But if your component listens the model supplied from external source, you should add your listeners in addNotify and remove them in removeNotify methods. Otherwise you may have a memore leak.