public void addComponent(String name, JComponent component) {
		TableColumn column = new TableColumn();
		column.addPropertyChangeListener(e -> columnPropertyChanged(e));
		column.setHeaderValue(new ComponentData(name, component));
		column.setPreferredWidth(component.getPreferredSize().width + separatorWidth);
		column.setWidth(component.getPreferredSize().width);
		columnModel.addColumn(column);
		mainPanel.add(component);
		mainPanel.add(new JSeparator(SwingConstants.VERTICAL));
	}
Adds a component and it's name to the set of managed components.
@param name the name to display in its column header.
@param component the component to add
Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/InteractivePanelManager.java