public static void showSpinner(int total) {
        Spinner spinner = getInstance();
        spinner.getProgressBar().setMaximum(total);
        spinner.pack();
        spinner.setVisible(true);
    }
<pre>
Spinner
</pre>

@author <a href="https://github.com/rememberber">RememBerBer</a>
@since 2019/7/19.
src/main/java/com/fangxuele/tool/push/ui/dialog/Spinner.java