О боевике в Java Swing
button.addActionListener(this);
Long Lobster
button.addActionListener(this);
public class ActionListenerTest implements ActionListener {