public synchronized void addGraphListener(GraphListener cl){
  m_graphListeners.addElement(cl);
}

public synchronized void addGraphListener ( GraphListener cl ) { m_graphListeners . addElement ( cl ) ; }
add a graph listener
