IN JAVA
Create a JComboBox with two options:Celsius to Fahrenheit andFahrenheit to Celsius.
Use a text field to accept a double that represents theamount of the temperature.
Test the user input number to ensure that it is a double.
Create two methods for the temperature conversions:
Use DegreesC = 5(degreesF – 32)/9; for the conversion fromCelsius to Fahrenheit.
Use DegreesF = (9(degreesC)/5) + 32; for the conversion fromFahrenheit to Celsius.
Use an uneditable text field to show the convertedtemperature.
Display a label that describes the converted temperaturetype.
Have the cursor come back to the temperature entry field.
See the GUI format below.
Use parseDouble to convert the input to a double
PayPal Gateway not configured
PayPal Gateway not configured