private Predicate<Integer> shouldStop(JScrollBar bar) {
      return TouchScroll.shouldStop(bar).or(v -> {
        return beginTime != 0L && (System.currentTimeMillis() - beginTime) > getFlingInterruptLag();
      });
    }
private Predicate<Integer> shouldStop(JScrollBar bar)