public synchronized void addTextListener(TextListener cl){
  m_textListeners.addElement(cl);
}

public synchronized void addTextListener ( TextListener cl ) { m_textListeners . addElement ( cl ) ; }
add a text listener
