int pos = getRowColFromPoint(end.x,end.y);
int pos = getPosFromView(end.x,end.y);
   public Point translateEnd(Point end) {      // because getRowColFromPoint returns position offset as 1,1 we need      // to translate as offset 0,0      int pos = getRowColFromPoint(end.x,end.y);//      if (pos >= 0 && pos <= lenScreen) {         int x = screen[pos].x + fmWidth - 1;         int y = screen[pos].y + fmHeight - 1;//      System.out.println(" ex = " + x + " sx = " + rubberband.getStartPoint().x);         end.setLocation(x,y);//      }//      else {//         System.out.println(" pos is not good " + pos);//      }      return end;   }