Hi, I am refactoring some code for an assignment - currently the view has lots of buttons and menus and one action listener which decides what to do by using event.getSource(). From what I've read people seem to think its better for each GUI component to have its own action listener, perhaps created through some kind of factory. However other than it cleaning up the code a bit what other benefits does this give - also does this not mean a lot more objects will be on the heap and could affect performance?
Thanks,
Aly