public Object resizeCell(Object cell,mxRectangle bounds){
  return resizeCells(new Object[]{cell},new mxRectangle[]{bounds})[0];
}

public Object resizeCell ( Object cell , mxRectangle bounds ) { return resizeCells ( new Object [ ] { cell } , new mxRectangle [ ] { bounds } ) [ 0 ] ; }
sets the bounds of the given cell using resizecells . returns the cell which was passed to the function .
