This week's book giveaway is in the JavaScript forum.
We're giving away four copies of JavaScript Promises Essentials and have Rami Sarieddine on-line!
See this thread for details.
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 JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JProgress Bar Text" Watch "JProgress Bar Text" New topic

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

Joined: Jun 19, 2010
Posts: 825

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.
I agree. Here's the link:
subject: JProgress Bar Text