Home /
Expert Answers /
Computer Science /
temperature-converter-gui-write-a-gui-program-using-the-netbeans-gui-generator-that-will-convert-pa386
(Solved): Temperature Converter GUI Write a GUI program, using the NetBeans GUI generator, that will convert ...
Temperature Converter GUI Write a GUI program, using the NetBeans GUI generator, that will convert temperatures from fahrenheit to celsius and from celsius to fahrenheit. The user should be able to enter a temperature to convert. click on a radio button to specify which conversion to do, and then click on a button to see the converted temperature displayed. Use the following formulas for the temperature conversions: F=9/5*C+32 and C-5/9" (F-32) where F is the Fahrenheit temperature and C is the Celsius temperature The temperatures should be displayed to 1 decimal place, 93.7 degrees Fahrenheit Note: Submit the assignment as a zip file of your NetBeans project folder. Zip the entire folder not just the java files. Example execution Temperature Converter Temperature Converter Choose Cover Type Fat C C Eco2 The temperature co 17.3 F Con Temp
import javax.swing.*; import java.awt.event.*; import java.awt.*; class TemperatureConverter { // Declare the GUI Elements public static JFrame frmMain; public static JLabel lblCelsius; public static JTextField textCelsius; publi