@Override
	public boolean setComponentComment(int rowIndex, String comment) {

		String oldComment = getComponent(rowIndex).getComment();
		String newComment = comment;
		if (newComment.equals("")) {
			newComment = null;
		}

		if (Objects.equals(oldComment, newComment)) {
			return false;
		}

		viewDTM.withTransaction("Set Component Comment",
			() -> getComponent(rowIndex).setComment(comment));

		fireTableCellUpdated(rowIndex, getCommentColumn());
		componentDataChanged();
		return true;
	}
Cause the component at the specified index to consume undefined bytes
that follow it.
Note: this method adjusts the selection.

@param rowIndex the row index
@return the number of Undefined bytes consumed.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/compositeeditor/CompEditorModel.java