private boolean autoscroll() {
    JScrollPane scrollPane =
      ComponentUtil.getParentOfType((Class<? extends JScrollPane>)JScrollPane.class, myLatestDragEvent.getComponent());
    if (scrollPane == null) return false;

    boolean scrolled = scroll(scrollPane.getVerticalScrollBar(), myVerticalScrollDelta);
    scrolled |= scroll(scrollPane.getHorizontalScrollBar(), myHorizontalScrollDelta);
    return scrolled;
  }
private boolean autoscroll()