public void paint(Graphics g, JComponent c) {
		Dimension size = c.getSize();
        
        if (textArea == null) return;

		textArea.setBackground(c.getBackground());
		rendererPane.paintComponent(g, textArea, c, 1, 1, size.width - 1,
				size.height - 1, true);
	}