GeeCON Prague 2014*
The moose likes Swing / AWT / SWT and the fly likes JProgressBar like Bar with no Percentage? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JProgressBar like Bar with no Percentage?" Watch "JProgressBar like Bar with no Percentage?" New topic
Author

JProgressBar like Bar with no Percentage?

Sammy Bill
Ranch Hand

Joined: Dec 29, 2008
Posts: 96
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

Joined: Jun 13, 2009
Posts: 2191
    
    7
Read the Swing tutorial on Using Progress Bars. You can use an indeterminate progress bar.
 
Consider Paul's rocket mass heater.
 
subject: JProgressBar like Bar with no Percentage?