protected void getBoundingArea(Rectangle r) {
protected Rectangle getBoundingArea() {
      protected void getBoundingArea(Rectangle r) {         if((getEndPoint().x > getStartPoint().x) && (getEndPoint().y > getStartPoint().y)) {            r.setBounds(getStartPoint().x,getStartPoint().y,getEndPoint().x-getStartPoint().x,getEndPoint().y-getStartPoint().y);         }         else if((getEndPoint().x < getStartPoint().x) && (getEndPoint().y < getStartPoint().y)) {            r.setBounds(getEndPoint().x,getEndPoint().y,getStartPoint().x-getEndPoint().x,getStartPoint().y-getEndPoint().y);         }         else if((getEndPoint().x > getStartPoint().x) && (getEndPoint().y < getStartPoint().y))  {            r.setBounds(getStartPoint().x,getEndPoint().y,getEndPoint().x-getStartPoint().x,getStartPoint().y-getEndPoint().y);         }         else if((getEndPoint().x < getStartPoint().x) && (getEndPoint().y > getStartPoint().y)) {            r.setBounds(getEndPoint().x,getStartPoint().y,getStartPoint().x-getEndPoint().x,getEndPoint().y-getStartPoint().y);         }//         return r;      }