public void refreshColumnIndex(final int index){
  final int lastIndex=table.getItemCount();
  for (int i=index; i < lastIndex; i++) {
    final TableItem item=table.getItem(i);
    item.setText(0,String.valueOf(i));
  }
}

public void refreshColumnIndex ( final int index ) { final int lastIndex = table . getItemCount ( ) ; for ( int i = index ; i < lastIndex ; i ++ ) { final TableItem item = table . getItem ( i ) ; item . setText ( 0 , String . valueOf ( i ) ) ; } }
a refresh for the index column of the dialog box
