question: public static Point toSwtPoint ( final java . awt . geom . Point2D p ) { return new Point ( ( int ) Math . round ( p . getX ( ) ) , ( int ) Math . round ( p . getY ( ) ) ) ; }
target:  Returns an SWT point with the same coordinates as the specified AWT point (rounded to integer values).