wood burning stoves 2.0*
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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JProgressBar like Bar with no Percentage?" Watch "JProgressBar like Bar with no Percentage?" New topic

JProgressBar like Bar with no Percentage?

Sammy Bill
Ranch Hand

Joined: Dec 29, 2008
Posts: 96

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).?

Rob Camick
Ranch Hand

Joined: Jun 13, 2009
Posts: 2090
Read the Swing tutorial on Using Progress Bars. You can use an indeterminate progress bar.
I agree. Here's the link: http://aspose.com/file-tools
subject: JProgressBar like Bar with no Percentage?
Similar Threads
refresh of the screen not showing!
Need help on JProgressBar!!
JProgressBar and Determining Task Length
Vertical JProgressBar
JSlider knob color