CodeProject.TV will close July 31. Remember to ensure you’ve watched or download your videos! Full details here.

Adding Text to Progress Bars: Mastering Java Swing Part 60

4m 21s
Caveofprogramming

Cave of Programming

After working as a software developer and contractor for over 14 years for a whole bunch of companies including CSC, Proquest, SPSS and AT&T in the UK and... Read more

A little tutorial on adding text to progress bars in Swing.

This is just a quick tutorial on adding text to progress bars (such as "loading 85% ...."), which is a nice extra touch.

Adding text to progress bars with setStringPainted() and setString()
Formatting a percentage with String.format()