protected void paintRangeRings(Point2D originPnt,Point2D dest,Graphics graphics,MapBean theMap){
  Geo originGeo=new Geo(originPnt.getY(),originPnt.getX(),true);
  Geo destGeo=new Geo(dest.getY(),dest.getX(),true);
  double distance=originGeo.distance(destGeo);
  for (int i=1; i <= Math.max(1,numRings); i++) {
    double ringDist=distance * (double)i;
    paintCircle(originGeo,ringDist,graphics,theMap);
    paintLabel(originGeo,ringDist,graphics,theMap);
  }
}

protected void paintRangeRings ( Point2D originPnt , Point2D dest , Graphics graphics , MapBean theMap ) { Geo originGeo = new Geo ( originPnt . getY ( ) , originPnt . getX ( ) , true ) ; Geo destGeo = new Geo ( dest . getY ( ) , dest . getX ( ) , true ) ; double distance = originGeo . distance ( destGeo ) ; for ( int i = 1 ; i <= Math . max ( 1 , numRings ) ; i ++ ) { double ringDist = distance * ( double ) i ; paintCircle ( originGeo , ringDist , graphics , theMap ) ; paintLabel ( originGeo , ringDist , graphics , theMap ) ; } }
paints the circles and their labels on the given graphics .
