Component (Container aContainer, Component aComponent) { final List<Component> components = getOrderedComponents(); int i = components.indexOf(aComponent); Component after = (i != -1 ? searchShowing(components, i + 1, FORWARD) : null); if (after == null && !myReturnNullIfOutsideOfOrderedComponents) { // Let LayoutFTP detect the nearest focus cycle root and handle cycle icity correctly. return super.getComponentAfter(aContainer, aComponent); } return after; }