Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Progress bar not updating

807598Aug 11 2006 — edited Aug 11 2006
I have a Jframe with a progress bar init. I also have a different class with a for loop counting. each time the loop make an increment I do progressbar.setValue(what ever number now); but the problem is it would update until the very end of the loop. So really is 0% then when It done it jumps straight to 100%. how can I make it so that it will display each step. The frame.repaint() or update is not working.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 8 2006
Added on Aug 11 2006
3 comments
326 views