Temperature Conversion in GUI
Objectives
To be able to design the temperature convertor
Create One text box, Two labels and one Button on Jform.
Use the following code for this exercise.
int tempFahr = (int)((Double.parseDouble(Temptextfield.getText())) * 1.8 +32);
Fahrenheitlabel.setText(tempFahr + " Fahrenheit" );