public void setViewCursor(final int currsorType) {
        Cursor cursor = getViewCursor(currsorType);
        if (documentViewScrollPane != null) {
            //documentViewScrollPane.setViewCursor( cursor );
            if (documentViewScrollPane.getViewport() != null)
                documentViewScrollPane.getViewport().setCursor(cursor);
        }
    }