DefaultMutableTreeNode rootNode = new DefaultMutableTreeNode("Root");
Iterator gvGroupsIter = gvGroups.iterator();
int n = 0;
while (gvGroupsIter.hasNext()) {
GVGroup gvGroup = (GVGroup)gvGroupsIter.next();
DefaultMutableTreeNode childNode = new DefaultMutableTreeNode(new ObjectInfo(-1,
TxtManager.getTxt("VIEW." + gvGroup.getGrp()), gvGroup.getGrp()));
rootNode.add(childNode);
if (n == 0) {
currentGVGroup = gvGroup;
}
n++;