This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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: 230
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: 230
Perfect. Thanks. It was the setStringPainted that I didn't find.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: JProgress Bar Text
 
It's not a secret anymore!