if(log.isDebugEnabled()) {
if(log.isWarnEnabled()) {
  public void resetColors() {    for (int i = 0; i < markedElements.size(); i++) {      Element element = (Element)markedElements.elementAt(i);      if (element instanceof Edge) {	element.setAttribute(GrappaConstants.COLOR_ATTR, "black");      } else if (element instanceof Node) {	Node node = (Node)element;	if (!node.visible)	  continue;	Attribute a = node.getAttribute(COLOR_ATTR);	if (a == null) {          if(log.isDebugEnabled()) {            log.warn("CSMARTGraph: No default color for node");          }	  continue;	}	GrappaStyle gs = 	  new GrappaStyle(GrappaConstants.NODE, "filled(true),line_color(" +			  a.getStringValue() + ")");	node.setAttribute(GrappaConstants.STYLE_ATTR, gs);      }    }    markedElements.removeAllElements();    resync();    repaint();  }