} else if (usrObject instanceof String) id = NO_ICON;
} else if (usrObject instanceof String) { text = (String) usrObject; id = NO_ICON; }
	private int getIconID(Object value)	{		DefaultMutableTreeNode  node = (DefaultMutableTreeNode) value;		Object usrObject = node.getUserObject();		int id = ROOT_ICON;		if (node.getLevel() != 0) {            Set set;            String text = null;			if (usrObject instanceof ProjectData)  {                text = ((ProjectData) usrObject).getName();                id = PROJECT_ICON;            } else if (usrObject instanceof DatasetData) {                DatasetData dataset = (DatasetData) usrObject;                text = dataset.getName();                set = dataset.getAnnotations();                if (set == null || set.size() == 0) id = DATASET_ICON;                else id = ANNOTATED_DATASET_ICON;            } else if (usrObject instanceof ImageData) {                ImageData image = (ImageData) usrObject;                text = image.getName();                set = image.getAnnotations();                if (set == null || set.size() == 0) id = IMAGE_ICON;                else id = ANNOTATED_IMAGE_ICON;            } else if (usrObject instanceof CategoryGroupData) {                text = ((CategoryGroupData) usrObject).getName();                id = CATEGORY_GROUP_ICON;               } else if (usrObject instanceof CategoryData) {                text = ((CategoryData) usrObject).getName();                id = CATEGORY_ICON;             } else if (usrObject instanceof String) id = NO_ICON;            setText(text);		}		return id;	}