JFrame frame = (JFrame) event.getSource();
Point framePoint = event.getPoint();
Point canvasPoint = SwingUtilities.convertPoint(frame, framePoint, canvas);
int canvasX = event.getX() + canvasPoint.x - framePoint.x;
int canvasY = event.getY() + canvasPoint.y - framePoint.y;
pt = view.calcIntersectionPixelOfEyeRay(canvasX, canvasY);
if (lastPressEventHook != null) {
WindowSwing.EventHookInfo hookInfo =
new WindowSwing.EventHookInfo(intersectionPointWorld, canvasX, canvasY);
lastPressEventHook.specifyHookInfoForEvent(event, hookInfo);