if(log.isDebugEnabled()) {
if(log.isWarnEnabled()) {
  public void scrollToSelected() {    Node node = getSelectedNode();    if (node == null) {      if(log.isDebugEnabled()) {        log.warn("no selected node");      }      return;    }    Rectangle r = getSelectedNode().getGrappaNexus().getBounds();    double[] pts = new double[] {       r.getX(), r.getY(),  	r.getX() + r.getWidth(), r.getY() + r.getHeight() 	};    scrollWorker(pts);  }