• Post Reply Bookmark Topic Watch Topic
  • New Topic

JProgressBar like Bar with no Percentage?  RSS feed

 
Sammy Bill
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I have a refresh button in my application that will interact with the DB and will take sometime to complete its tasks.
how can I create a loading Bar like JProgressBar but with no percentage while the refresh buttons in interacting with the DB( something like tha leading bar that appears on windows start).?

Thanks
 
Rob Camick
Ranch Hand
Posts: 2801
15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read the Swing tutorial on Using Progress Bars. You can use an indeterminate progress bar.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!