static Component getComponentAtIndex(final Container c, final int i) { ret c == null || i < 0 ? null : swing(func -> Component { i < c.getComponentCount() ? c.getComponent(i) : null }); }