Paint the text in a progress bar with two colors
800670Nov 25 2010 — edited Nov 25 2010Hello!
i am wondering how to set the text in a progres bar in two different colors, one color when the progress meter is painted over the text and one color when it is not.
Have a look at this image: http://pluto.ksi.edu/~cyh/ba519/Swing2/images/ProgressBar.gif
As you can see, the value "51" is painted with white color and the "%" sign is painted with the blue color.
How is that possible?