super (s, len); enableEvents (AWTEvent.ACTION_EVENT_MASK);
System.out.println ("The current text is: " + e.getActionCommand()); TextField tf = (TextField)e.getSource(); StringBuffer sb = new StringBuffer (e.getActionCommand()); tf.setText (sb.reverse().toString()); super.processActionEvent(e) ;