objTree.setTreeitemRenderer(this);
}
private SimpleTreeNode prepareRootNode(List data) {
OrgForm root = new OrgForm();
root.setOrgName("");
ArrayList mother = new ArrayList();
Iterator it = data.iterator();
while (it.hasNext()) {
OrgForm form = (OrgForm) it.next();
if (form.getParentOrgId() == null) {
logger.debug("--->>" + form.getOrgId());
ArrayList subList = getSubList(form, data);
SimpleTreeNode stn = new SimpleTreeNode(form, subList);
mother.add(stn);
}
}