private Component findSibling(Component component, List<Component> list) {

			Container parent = component.getParent();
			Component[] siblings = parent.getComponents();
			for (Component sibling : siblings) {
				if (list.contains(sibling)) {
					return sibling;
				}
			}
			return null;
		}
Finds the first sibling of the given component in the given list.  

@param component the component that is not in the list, but has a sibling in the list
@param list the list of focus traversal components
@return the sibling or null
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/compositeeditor/CompositeEditorPanel.java