private static boolean tracksViewportWidth(Component view) {
      return view instanceof Scrollable && ((Scrollable)view).getScrollableTracksViewportWidth();
    }
private static boolean tracksViewportWidth(Component view)