public void history(boolean isReset)
	{	
        StringBuffer buffer = new StringBuffer();
        String nStep = new String();
        
        nStep =("Step: " + step + "  ");
        for(Color color : stats.keySet()){
            Counter info = stats.get(color);
            int stringLength = info.getName().length();
            buffer.append(info.getName().substring(6,stringLength));	//	show info
            buffer.append(": ");
            buffer.append(info.getCount());
            buffer.append(' ');
        }
        //	tijdelijk blokkeren
        if (!(nStep.equals("Step: " + -1 + "  "))){
        textArea.append(nStep + buffer.toString() + "\r\n");
        
        }
        step++;
	}