public static void smoothPane(JScrollPane scrollPane) {
        scrollPane.getVerticalScrollBar().setUnitIncrement(14);
        scrollPane.getHorizontalScrollBar().setUnitIncrement(14);
        scrollPane.getVerticalScrollBar().setDoubleBuffered(true);
        scrollPane.getHorizontalScrollBar().setDoubleBuffered(true);
    }
some functions about scroll

@author <a href="https://github.com/rememberber">RememBerBer</a>
@since 2021/11/23.
src/main/java/com/fangxuele/tool/push/util/ScrollUtil.java