int dims[] = new int[2];  getSize (rows, dims); return (new Dimension (dims[0], dims[1]));
return minimumSize (rows);
  public Dimension getMinimumSize (int rows)  {    int dims[] = new int[2];    getSize (rows, dims);    return (new Dimension (dims[0], dims[1]));  }