private void populateMultiShapeList(){
  multiListModel.clear();
  segmentListModel.clear();
  for (int index=0; index < wktGeometry.getNoOfSegments(); index++) {
    multiListModel.addElement(wktGeometry.getMultiShapeName(index));
  }
  multiList.setSelectedIndex(0);
}

private void populateMultiShapeList ( ) { multiListModel . clear ( ) ; segmentListModel . clear ( ) ; for ( int index = 0 ; index < wktGeometry . getNoOfSegments ( ) ; index ++ ) { multiListModel . addElement ( wktGeometry . getMultiShapeName ( index ) ) ; } multiList . setSelectedIndex ( 0 ) ; }
populate multi shape list .
