@Override public synchronized void addDataSourceListener(DataSourceListener dsl){
  m_dataSourceListeners.addElement(dsl);
  if (m_format != null) {
    DataSetEvent e=new DataSetEvent(this,m_format);
    dsl.acceptDataSet(e);
  }
}

@ Override public synchronized void addDataSourceListener ( DataSourceListener dsl ) { m_dataSourceListeners . addElement ( dsl ) ; if ( m_format != null ) { DataSetEvent e = new DataSetEvent ( this , m_format ) ; dsl . acceptDataSet ( e ) ; } }
add a datasource listener
