code: public void paintComponent(Graphics g)
  	{
  		super.paintComponent(g);
  
  		// setup the graphics
  		Graphics2D _g2 = (Graphics2D) (g.create());
  		_g2.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_ON);
  		AffineTransform _at = computeTransformation(true);
  		_g2.transform(_at);
  
  		// do the drawing
  		paintPaper(_g2);
  
  		if (null != getContent())
  		{
  			getContent().paint(_g2);
  		}
  	}
docs: /*
  (non-Javadoc)
  
  @see javax.swing.JComponent#paint(java.awt.Graphics)