private void setCursorOnComponents(final int cursorType) {
        Cursor cursor = documentViewController.getViewCursor(cursorType);
        if (utilityTabbedPane != null)
            utilityTabbedPane.setCursor(cursor);
//        if( documentViewController != null ) {
//            documentViewController.setViewCursor( cursorType );
//        }
        if (viewer != null)
            viewer.setCursor(cursor);
    }