public void insertLine(final ZyLineContent insertLine, final int insertIndex) {
    final ArrayList<ZyLineContent> newContent = new ArrayList<ZyLineContent>();

    if (insertIndex >= m_content.size()) {
      m_content.add(insertLine);
    } else {
      int index = 0;

      for (final ZyLineContent line : getContent()) {
        if (index++ == insertIndex) {
          newContent.add(insertLine);
        }

        newContent.add(line);
      }

      m_content.clear();
      m_content.addAll(newContent);
    }
  }
Adds another line add the end of the label content.

@param line The line to add.
java/zylib/src/main/java/com/google/security/zynamics/zylib/gui/zygraph/realizers/ZyLabelContent.java