class TempConverter extends JFrame implements ActionListener
{
int inScale=0,outScale=0;//stores scale of input and output temperature
double r=0.0;
String p="";//To store action command...