File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JProgressBar

 
Chris Stewart
Ranch Hand
Posts: 184
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4121
IntelliJ IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Chris Stewart
Ranch Hand
Posts: 184
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic