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); }