JTF > Demo Gallery > acm.gui > TemperatureConverter

This program uses the TableLayout class in conjunction with the IntField interactor to create a simple temperature converter. The conversion is bidirectional: clicking either button recomputes the value on the other scale. Hitting the RETURN in either IntField interactor generates the same action command as clicking the button.