public void add(FieldPanel fp) {
		addListeners(fp);
		FieldPanel[] newPanels = new FieldPanel[panels.length+1];
		System.arraycopy(panels, 0, newPanels, 0, panels.length);
		newPanels[panels.length] = fp;
		panels = newPanels;
		ViewerPosition vp = fp.getViewerPosition();
		viewChanged(fp, vp.getIndex(), vp.getXOffset(), vp.getYOffset());
	}
Adds the given field panel to the list of panels to synchronize.
@param fp the field panel to add.
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/internal/FieldPanelCoordinator.java