AL
b.addActionListener (new ActionListener () { public void actionPerformed(ActionEvent e) { step (); } });