aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes JProgressBar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JProgressBar" Watch "JProgressBar" New topic
Author

JProgressBar

Chris Stewart
Ranch Hand

Joined: Sep 14, 2002
Posts: 184
I've implemented a simple JProgressBar in an applet but it doesn't display correctly for me. I click the button, and see the popup show, but it never actually shows the progress happening. Can anybody help me here?
Link: http://www.isy.vcu.edu/~cstewart/info350/Homework3.html
Applet code:
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

Check out How to use Timers in the Java Tutorial... your progress monitor isn't updating because your for loop in the LoadImages() method is holding the event processing thread.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Chris Stewart
Ranch Hand

Joined: Sep 14, 2002
Posts: 184
I figured this one out as well last night. I made some breakthroughs last night.
http://www.isy.vcu.edu/~cstewart/info350/Homework3.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JProgressBar