public void addOkMessage(String message) {
		Document docs = textArea.getDocument();

		SimpleAttributeSet attrSet = new SimpleAttributeSet();
		StyleConstants.setForeground(attrSet, Color.BLACK);

		try {
			docs.insertString(docs.getLength(), "\r\n" + lineNumber++ + ": "
					+ message, attrSet);
		} catch (BadLocationException e) {
			e.printStackTrace();
		}

		textArea.setCaretPosition(docs.getLength());
	}