This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Changing Foreground color of JProgressBar

 
Tapan Maru
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using JProgressBar in my application. It works fine but the only problem is I want to change the color which displays value in percentage in the progressbar. I am using setValue(int i) method and it gives value which white color. I want that value should be displayed in black color.

Please Help
 
Michael Dunn
Ranch Hand
Posts: 4632
 
Tapan Maru
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Many Many thanks.

Its of great help to me.

Looking forward for the same in the future also.
 
A feeble attempt to tell you about our stuff that makes us money
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!