code: public void draw(Graphics2D g) {
  		if (needsRefresh)
  			refreshCurve();
  		g.draw(curve); // Draws the main part of the arrow.
  		drawArrow(g, end, control); // Draws the arrow head.
  		drawText(g);
  	}
docs: Draws the arrow on the indicated graphics environment.
  
  @param g
  the graphics to draw this arrow upon