if (n < 0 || n >= ncomponents) throw new ArrayIndexOutOfBoundsException("no such component"); return component[n];
synchronized (getTreeLock ()) { if (n < 0 || n >= ncomponents) throw new ArrayIndexOutOfBoundsException("no such component"); return component[n]; }
  public Component getComponent(int n)  {    if (n < 0 || n >= ncomponents)      throw new ArrayIndexOutOfBoundsException("no such component");    return component[n];  }