private void addAlias(Alias alias){
  mTableFilterHeader.setAdaptiveChoices(false);
  int index=mAliasModel.addAlias(alias);
  mTableFilterHeader.setAdaptiveChoices(true);
  if (index >= 0) {
    int translatedIndex=mAliasTable.convertRowIndexToView(index);
    mAliasTable.setRowSelectionInterval(translatedIndex,translatedIndex);
    mAliasTable.scrollRectToVisible(new Rectangle(mAliasTable.getCellRect(translatedIndex,0,true)));
  }
}

private void addAlias ( Alias alias ) { mTableFilterHeader . setAdaptiveChoices ( false ) ; int index = mAliasModel . addAlias ( alias ) ; mTableFilterHeader . setAdaptiveChoices ( true ) ; if ( index >= 0 ) { int translatedIndex = mAliasTable . convertRowIndexToView ( index ) ; mAliasTable . setRowSelectionInterval ( translatedIndex , translatedIndex ) ; mAliasTable . scrollRectToVisible ( new Rectangle ( mAliasTable . getCellRect ( translatedIndex , 0 , true ) ) ) ; } }
adds the alias to the alias table / model and scrolls the view it
