getRowHeight(i));
getCellHeight(i));
  public Rectangle getCellBounds(JList l, int index1, int index2)  {    maybeUpdateLayoutState();    if (l != list || cellWidth == -1)      return null;    int minIndex = Math.min(index1, index2);    int maxIndex = Math.max(index1, index2);    Point loc = indexToLocation(list, minIndex);    Rectangle bounds = new Rectangle(loc.x, loc.y, cellWidth,                                     getRowHeight(minIndex));    for (int i = minIndex + 1; i <= maxIndex; i++)      {        Point hiLoc = indexToLocation(list, i);        Rectangle hibounds = new Rectangle(hiLoc.x, hiLoc.y, cellWidth,                                       getRowHeight(i));        bounds = bounds.union(hibounds);      }    return bounds;  }