ScrollView sv = getSelectedView(); if (sv != null) { Point pt = sheet.getScale().unitsToPixels(point, null); sv.getView().setFocusPoint(pt);
if (!sheetBarred) { ScrollView sv = getSelectedView(); if (sv != null) { Point pt = sheet.getScale().unitsToPixels(point, null); scoreBarred = true; sv.getView().setFocusPoint(pt); scoreBarred = false; }
    public void setSheetFocusPoint (PagePoint point)    {        ScrollView sv = getSelectedView();        if (sv != null) {            Point pt = sheet.getScale().unitsToPixels(point, null);            sv.getView().setFocusPoint(pt);        }    }