This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JProgressBar like Bar with no Percentage?

 
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: 2542
9
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic