wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes JProgress Bar Text Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JProgress Bar Text" Watch "JProgress Bar Text" New topic
Author

JProgress Bar Text

Dennis Putnam
Ranch Hand

Joined: Feb 03, 2012
Posts: 217
Is there a way to put text into an indeterminate JProgress bar like can be done for a determinate bar? I have a progress bar that will never be determinate and it just looks too naked. I use it to indicate to the user that something is happening. When it is over I just set the bar to invisible. TIA.
Kemal Sokolovic
Bartender

Joined: Jun 19, 2010
Posts: 825
    
    5



The quieter you are, the more you are able to hear.
Dennis Putnam
Ranch Hand

Joined: Feb 03, 2012
Posts: 217
Perfect. Thanks. It was the setStringPainted that I didn't find.
 
Consider Paul's rocket mass heater.
 
subject: JProgress Bar Text