public synchronized void run()
		{
			if (clear)
			{
				textArea.setText("");
			}
			for (String val : values)
			{
				curLength += val.length();
				if (val.endsWith(EOL1) || val.endsWith(EOL2))
				{
					if (lengths.size() >= maxLines)
					{
						textArea.replaceRange("", 0, lengths.removeFirst());
					}
					lengths.addLast(curLength);
					curLength = 0;
				}
				textArea.append(val);
			}
			values.clear();
			clear = false;
			queue = true;
		}