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