This was the basis for several control system GUI's that I've deployed.
Download code here
Also, check out my
Delay Generator App
and
ADC tester
that use this