Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I change the color of the knob on a JSlider?

Status
Not open for further replies.

rezrovs

Programmer
May 4, 2004
3
ZA
I am trying to change the color of the knob on the JSlider. I have searched the internet and come up with nothing except some vague suggestion about changing the UI somehow. Any thoughts?

Thanks,
Rachel
 
Not to worry, I found the answer. You have to change the UI for the Slider. Pity there's no setKnobColor() but it's the challenge I guess.

Cheers,
Rachel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top