double xc = _stats.getImageX(), yc = _stats.getImageY();
CoordinateConverter cc = imgDisp.getCoordinateConverter();
Point2D.Double px1 = new Point2D.Double(xc + dxX, yc + dyX);
Point2D.Double px2 = new Point2D.Double(xc - dxX, yc - dyX);
cc.imageToScreenCoords(px1, false);
cc.imageToScreenCoords(px2, false);
// the Y-axis is rotated "by hand" so that it appears perpendicular to the X-axis
Point2D.Double py1 = new Point2D.Double(xc + dyY, yc - dxY);
Point2D.Double py2 = new Point2D.Double(xc - dyY, yc + dxY);
cc.imageToScreenCoords(py1, false);