*/
    private Point getCenteringPoint() {
        Point centeringPoint = null;
        if (documentViewScrollPane != null) {
            int x = documentViewScrollPane.getViewport().getViewPosition().x +
                    (documentViewScrollPane.getViewport().getWidth() / 2);
            int y = documentViewScrollPane.getViewport().getViewPosition().y +
                    (documentViewScrollPane.getViewport().getHeight() / 2);
            centeringPoint = new Point(x, y);
        }
        return centeringPoint;
    }