Id: event.tex,v 1.2 2006-12-11 15:46:45 waldmann Exp
public class Click { ...
...
class Inc_Listen implements ActionListener {
public void actionPerformed (ActionEvent a) {
c.step(); out.setText (c.get());
}
}
public void init () { ...
inc.addActionListener (new Inc_Listen ());
}
}