JScrollbar « JSlider « Java Swing Q&A





2. Thermometer problem (JScrollbar / JSlider ).... ??    coderanch.com

What I'm trying to do is draw a thermometer and have a trigger slider which I can slide up and down to set the max temperature allowed before an alert is given. I'm at a bit of a loss as to how I should approach this. Is is possible to customize either the JScrollbar or JSlider classes to do what I ...