The Artima Developer Community
Sponsored Link

Java Answers Forum
Problem with selection color JSlider

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
The Fre

Posts: 1
Nickname: thefreak
Registered: Oct, 2003

Problem with selection color JSlider Posted: Oct 19, 2003 1:12 PM
Reply to this message Reply
Advertisement
I am making a GUI for a little software game.

But i have a problem with my slider. I want to change the selection color from the tumb from the standard "beautiful" purple to another color.

I've tried following settings , with UIManager.put("Slider.background",new ColorUIResource(Library.SETCOLOR)):

Slider.background
Slider.focus
Slider.foreground
Slider.highlight
Slider.horizontalThumbIcon
Slider.majorTickLength
Slider.shadow
Slider.trackWidth
Slider.verticalThumbIcon
SliderUI
Slider.border
Slider.focusInsets

None of these settings worked.
I also tried all the settings listed on the following URL :

http://forums.e-plus.com.au/thread.jsp?forum=3&thread=93

But they did'nt work either.

Please help me out??

Topic: Any Examples Previous Topic   Next Topic Topic: Validation when using the action.DynaActionForm

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use