private void addChannel(Channel channel){
  mTableFilterHeader.setAdaptiveChoices(false);
  int index=mChannelModel.addChannel(channel);
  mTableFilterHeader.setAdaptiveChoices(true);
  if (index >= 0) {
    int translatedIndex=mChannelTable.convertRowIndexToView(index);
    mChannelTable.setRowSelectionInterval(translatedIndex,translatedIndex);
    mChannelTable.scrollRectToVisible(new Rectangle(mChannelTable.getCellRect(translatedIndex,0,true)));
  }
}

private void addChannel ( Channel channel ) { mTableFilterHeader . setAdaptiveChoices ( false ) ; int index = mChannelModel . addChannel ( channel ) ; mTableFilterHeader . setAdaptiveChoices ( true ) ; if ( index >= 0 ) { int translatedIndex = mChannelTable . convertRowIndexToView ( index ) ; mChannelTable . setRowSelectionInterval ( translatedIndex , translatedIndex ) ; mChannelTable . scrollRectToVisible ( new Rectangle ( mChannelTable . getCellRect ( translatedIndex , 0 , true ) ) ) ; } }
adds the channel to the channel model / table and scrolls to view it
