bounds.setBounds(1,1,getRows(),getCols());
bounds.setBounds(1,1,getCols(),getRows());
   public void getBoundingArea(Rectangle bounds) {      // check to see if there is an area selected.  If not then return all      //    screen area.      if (!gui.rubberband.isAreaSelected()) {         bounds.setBounds(1,1,getRows(),getCols());      }      else {         // lets get the bounding area using a rectangle that we have already         // allocated         gui.rubberband.getBoundingArea(bounds);         // get starting row and column         int sPos = getRowColFromPoint(bounds.x ,                                    bounds.y );         // get the width and height         int ePos = getRowColFromPoint(bounds.width ,                                    bounds.height );         int row = getRow(sPos) + 1;         int col = getCol(sPos) + 1;         bounds.setBounds(row,col,getCol(ePos),getRow(ePos));      }   }