Public feed #602769

Zeug

public text v1 · immutable
Raw Edit
·published 2007-07-04 09:18 UTC
rendered paste body
private void printError (String text, boolean cr){
		Color c = new Color(1,0,0);
		getGraphics().setColor(c);			
		getGraphics().drawString(text, 0, 0);
		if(cr)
			getGraphics().translate(m_stdIndent,m_lineHeight);
		else
			getGraphics().translate(text.length(),0);				
	}