public void setTextColor(final Color color) {
    Preconditions.checkNotNull(color, "Error: Color argument can't be null");

    if (!isEmpty()) {
      m_atext.addAttribute(TextAttribute.FOREGROUND, color);

      m_textLayout = new TextLayout(m_atext.getIterator(), m_fontContext);
    }
  }
Changes the text color of the line.

@param color The new text color.
java/zylib/src/main/java/com/google/security/zynamics/zylib/gui/zygraph/realizers/ZyLineContent.java