From: Kieran B. <ki...@br...> - 2001-06-06 16:26:59
|
In Java you have annonymous inner classes, such as: tf = new TextField (); tf.addTextListener ( new TextListener () { // This interface has only one method. public void textValueChanged (TextEvent t) { // do whatever } } ); What would be the best/simplest way to code this in jython? |