void setRowHeader(String[] items) {
		adjustColumnCount(items.length);
		JComponent[] headerComps = getRowComponents(0);
		if (headerComps != null) {
			// remove the header
			for (JComponent headerComp : headerComps) {
				rowPanel.remove(headerComp);
			}
			headerComps = null;
			if (rowComps.isEmpty()) {
				rowComps.add(0, new ArrayList<JComponent>());
			}
			else {
				rowComps.set(0, new ArrayList<JComponent>());
			}
		}
		if (rowTypes.isEmpty()) {
			rowTypes.add(HEADER);
		}
		else {
			rowTypes.set(0, (long) HEADER);
		}

		if (items.length > 0) {
			if (rows.isEmpty()) {
				rows.add(0, items);
			}
			else {
				rows.set(0, items);
			}
			// create the header.
			headerComps = new JComponent[items.length];
			for (int i = 0; i < headerComps.length; i++) {
				headerComps[i] = new MyLabel(items[i]);
				headerComps[i].setName(getComponentName(0, i));
				setRowComponent(headerComps[i], 0, i, defaultInsets);
				headerComps[i].setBorder(BorderFactory.createMatteBorder(0, 0, 1, 0, Colors.BORDER));
			}
		}
		rowPanel.validate();
		validate();
		invalidate();
	}
This sets the header text that appears above the table.
@param text the text
Ghidra/Features/Base/src/main/java/ghidra/app/merge/listing/VerticalChoicesPanel.java