Friday, March 25, 2005


[13:02] class ActionListenerClosure implements ActionListener {
[13:02] Closure closure;
[13:02] public ActionListenerClosure(Closure closure) {
[13:02] this.closure = closure;
[13:02] }
[13:02] public void actionPerformed(ActionEvent e) {
[13:02] closure.doCall(e);
[13:02] }
[13:02] }

0 Comments:

Post a Comment

<< Home