question: public static void drawArrow ( Graphics2D g , Polygon arrow , int x , int y ) { arrow . translate ( x , y ) ; g . draw ( arrow ) ; g . fill ( arrow ) ; arrow . translate ( - x , - y ) ; }
target:  Utility function to draw in (x, y) one of the Polygon used for the arrows