code: public void remove( int index )
  	{
  		if( (index < 0) || (index >= size) )
  		{
  			throw new IndexOutOfBoundsException();
  		}
  
  		--size;
  		for( int i = index; i < size; ++i )
  		{
  			array[i] = array[i + 1];
  		}
  
  		array[size] = null;
  	}
docs: Removes the widget at the specified index.
  
  @param index
  the index of the widget to be removed
  @throws IndexOutOfBoundsException
  if <code>index</code> is out of range