question: private void resetCatalog ( boolean isSource , String newCatalog ) { String name = getCatalogName ( isSource , newCatalog ) ; ArrayList < String > databaseCatalogs = getCatalogNames ( isSource ) ; if ( isSource ) { m_sourceCatalog . removeAllItems ( ) ; } else { m_targetCatalog . removeAllItems ( ) ; } if ( databaseCatalogs != null && databaseCatalogs . size ( ) > 0 ) { for ( String databaseCatalog : databaseCatalogs ) { if ( isSource ) { m_sourceCatalog . addItem ( databaseCatalog . toLowerCase ( ) ) ; } else { m_targetCatalog . addItem ( databaseCatalog . toLowerCase ( ) ) ; } } } if ( isSource ) { m_sourceCatalog . setSelectedItem ( name ) ; m_sourceCatalogOld = name ; } else { m_targetCatalog . setSelectedItem ( name ) ; m_targetCatalogOld = name ; } }
target:  reload catalog combo box