In “It Might Be Efficient, But It Ain’t OO,” I presented an alternative way to implement the java.awt.ActionListener interface. In my opinion, creating one large actionPerformed() method and simply ...
In the first approach, the GUI does everything. I like most how the second approach encourages the Command design pattern. The Command pattern handily turns actions into objects. Once your actions are ...