private static @NotNull Point calcPoint(@NotNull Point screenPoint) {
    Point p = new Point(screenPoint.x, screenPoint.y);
    SwingUtilities.convertPointFromScreen(p, getTargetWindow());
    return p;
  }
private static @NotNull Point calcPoint(@NotNull Point screenPoint)