public void remove(FieldPanel fp) {
		removeListeners(fp);
		FieldPanel[] newPanels = new FieldPanel[panels.length-1];
		int j = 0;
		for(int i=0;i<panels.length;i++) {
			if (panels[i] != fp) {
				newPanels[j++] = panels[i];
			}
		}
		panels = newPanels;
	}
Removes the given field panel from the list to be synchronized.
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/internal/FieldPanelCoordinator.java