Best way to implement an ActionListener.
Hi all, basically, I have two classes. One which creates my GUI with Swing, and one which will handle all of my logical operations. What I want to know is, what is the best way of implementing the ActionListener? I have the following in my GUI class
Am I best off doing this multiple times in the class, or am I better off using an inner class?
//Addition of ActionListeners
public void actionPerformed(ActionEvent arg0)
Thanks in advance.