This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
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: 2153
    
    7
Read the Swing tutorial on Using Progress Bars. You can use an indeterminate progress bar.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JProgressBar like Bar with no Percentage?
 
Similar Threads
Vertical JProgressBar
refresh of the screen not showing!
Need help on JProgressBar!!
JProgressBar and Determining Task Length
JSlider knob color