public void selectGraphic(int index){
  EsriGraphicList list=getEsriGraphicList();
  list.deselect();
  selectedGraphics.clear();
  selectGraphic(list.getOMGraphicAt(index));
  graphicIndex=index;
  list.regenerate(proj);
}

public void selectGraphic ( int index ) { EsriGraphicList list = getEsriGraphicList ( ) ; list . deselect ( ) ; selectedGraphics . clear ( ) ; selectGraphic ( list . getOMGraphicAt ( index ) ) ; graphicIndex = index ; list . regenerate ( proj ) ; }
mark a graphic as selected on the map .
