private void populateFrameGrd(FrameExerciseSupportVoCollection voSupportColl) { GenForm.ctnStandContainer.lyrParentLayer.tabDetailsContainer.grdTimeRow row = null; for(int x=0; x<voSupportColl.size(); x++) { FrameExerciseSupportVo voSupport = voSupportColl.get(x); int i=0; for(i=0; i<form.ctnStand().lyrParent().tabDetails().grdTime().getRows().size(); i++) { row = form.ctnStand().lyrParent().tabDetails().grdTime().getRows().get(i); if(row.getColSupportType().equals(voSupport.getFrameSupportExercise())) { row.setColTime(voSupport.getDurationTime()); break; } } if(i == form.ctnStand().lyrParent().tabDetails().grdTime().getRows().size()) { row = form.ctnStand().lyrParent().tabDetails().grdTime().getRows().newRow(); row.setValue(voSupport); row.setColSupportType(voSupport.getFrameSupportExercise()); row.setColTime(voSupport.getDurationTime()); } } }