int index = 0; Component[] children = getComponents(); Accessible found = null; for (int j = 0; index != i; j++) { if (children[j] instanceof Accessible) index++; if (index == i) found = (Accessible) children[index]; }  return found;
return super.getAccessibleChild(i);
    public Accessible getAccessibleChild(int i)    {      int index = 0;      Component[] children = getComponents();      Accessible found = null;      for (int j = 0; index != i; j++)        {          if (children[j] instanceof Accessible)            index++;          if (index == i)            found = (Accessible) children[index];        }      // TODO: Figure out what to do when i is not a valid index.      return found;    }