Component (Component searchIn, Component toSkip) { List<Component> components = UIUtil.uiTraverser(searchIn).toList(); for (Component component : components) { if (component.equals(toSkip)) { continue; } if (component.isFocusable()) { return component; } } return searchIn; }