What's 40 degrees Celsius in Fahrenheit? I don't know but the slider does. What it clever about this example is that it implicitly solves the linear equation associated with temperatures. This because the slider generates messages between 0 and 100 and the numeric displays scale those numbers to between freezing and boiling.
Back to the JavaWorld Page