private void resetSchema(boolean isSource,String newSchema){
  String name=getSchemaName(isSource,newSchema);
  if (isSource) {
    m_sourceSchema.removeAllItems();
  }
 else {
    m_targetSchema.removeAllItems();
  }
  ArrayList<String> databaseSchemas=getSchemaNames(isSource);
  if (databaseSchemas != null && databaseSchemas.size() > 0) {
    for (    String databaseSchema : databaseSchemas) {
      if (isSource) {
        m_sourceSchema.addItem(databaseSchema.toLowerCase());
      }
 else {
        m_targetSchema.addItem(databaseSchema.toLowerCase());
      }
    }
  }
  if (isSource) {
    m_sourceSchema.setSelectedItem(name);
    m_sourceSchemaOld=name;
  }
 else {
    m_targetSchema.setSelectedItem(name);
    m_targetSchemaOld=name;
  }
}

private void resetSchema ( boolean isSource , String newSchema ) { String name = getSchemaName ( isSource , newSchema ) ; if ( isSource ) { m_sourceSchema . removeAllItems ( ) ; } else { m_targetSchema . removeAllItems ( ) ; } ArrayList < String > databaseSchemas = getSchemaNames ( isSource ) ; if ( databaseSchemas != null && databaseSchemas . size ( ) > 0 ) { for ( String databaseSchema : databaseSchemas ) { if ( isSource ) { m_sourceSchema . addItem ( databaseSchema . toLowerCase ( ) ) ; } else { m_targetSchema . addItem ( databaseSchema . toLowerCase ( ) ) ; } } } if ( isSource ) { m_sourceSchema . setSelectedItem ( name ) ; m_sourceSchemaOld = name ; } else { m_targetSchema . setSelectedItem ( name ) ; m_targetSchemaOld = name ; } }
reload schema combo box
