99799899910001001100210031004100510061007
jpb.setMaximum(total); jpb.setValue(value); if (ThreadWorks.Swing.isEventDispatchThread()) { jpb.paintImmediately(jpb.getBounds()); } else { jpb.repaint(); } } return id; }