question: public void move ( MouseEvent e ) { Point2D pnt = getProjectionPoint ( e ) ; int x = ( int ) pnt . getX ( ) ; int y = ( int ) pnt . getY ( ) ; if ( poly . getRenderType ( ) == OMGraphic . RENDERTYPE_OFFSET ) { gpm = new OffsetGrabPoint ( x , y ) ; gpm . clear ( ) ; } else { gpm = gpo ; gpm . clear ( ) ; gpm . set ( x , y ) ; } addPolyGrabPointsToOGP ( gpm ) ; movingPoint = gpm ; }
target:  Called to set the OffsetGrabPoint to the current mouse location, and update the OffsetGrabPoint with all the other GrabPoint locations, so everything can shift smoothly. Should also set the OffsetGrabPoint to the movingPoint. Should be called only once at the beginning of the general movement, in order to set the movingPoint. After that, redraw(e) should just be called, and the movingPoint will make the adjustments to the graphic that are needed.