code: public void setRenderingHints(Graphics2D g2d) {
  //		g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
  //				RenderingHints.VALUE_ANTIALIAS_ON);
  		g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
  				RenderingHints.VALUE_ANTIALIAS_OFF);
  		g2d.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING,
  				RenderingHints.VALUE_TEXT_ANTIALIAS_ON);
  	}
docs: Set whatever redneringHints are needed to properly draw the graph, ie.
  AntiAliasing, etc.
  @param g2d The Graphics2D objects on which the hints should be set.