public void removeChannel(Channel channel){
  if (channel != null) {
switch (channel.getChannelType()) {
case STANDARD:
      int index=mChannels.indexOf(channel);
    mChannels.remove(channel);
  if (index >= 0) {
    fireTableRowsDeleted(index,index);
  }
break;
case TRAFFIC:
mTrafficChannels.remove(channel);
break;
default :
break;
}
broadcast(new ChannelEvent(channel,Event.NOTIFICATION_DELETE));
}
}

public void removeChannel ( Channel channel ) { if ( channel != null ) { switch ( channel . getChannelType ( ) ) { case STANDARD : int index = mChannels . indexOf ( channel ) ; mChannels . remove ( channel ) ; if ( index >= 0 ) { fireTableRowsDeleted ( index , index ) ; } break ; case TRAFFIC : mTrafficChannels . remove ( channel ) ; break ; default : break ; } broadcast ( new ChannelEvent ( channel , Event . NOTIFICATION_DELETE ) ) ; } }
removes the channel from the model and broadcasts a channel remove event
