Answered step by step
Verified Expert Solution
Question
1 Approved Answer
without comments please Part1. Write a java program using the NetBeans IDE that can do the following tasks: Task1. - Your program implements the graphical
without comments please
Part1. Write a java program using the NetBeans IDE that can do the following tasks: Task1. - Your program implements the graphical user interface (GUI) shown below: The title of the GUI should be "Temperature Converter-login" (as shown above), the size of the GUI should be (350,170) and When the user clicks on the button labeled "Submit", the program takes the values of the text field labeled "User Name" and the values of the text field labeled "Password" and checks if the user name equals User1 and the Password equals 1234. If the entry exists in the list the program opens another window (GUI) named "Temperature Converter" that meet the specifications in the task2, otherwise a message box appears to the user with an error message. Task2. Modify the program so that it implements the graphical user interface (GUI) shown below: The title of the GUI should be "Temperature Converter" (as shown above), the size of the GUI should be (350,170) and When the user clicks on the button labeled "Fahrenheit to Celsius", the program converts the value on the text field labeled "Fahrenheit" to its corresponding Celsius value and shows the calculated result in the text field labeled "Celsius". The equation is Celsius =(Fahrenheit32)(5/7). When the user clicks on the button labeled "Celsius to Fahrenheit", the program converts the value of the text field labeled "Celsius" to its corresponding Fahrenheit value and shows the calculated result in the text field labeled "Fahrenheit". The equation is Fahrenheit = Celsius (7/5)+32. When the user clicks on the button labeled "Reset", the program print the values of text field labeled "Fahrenheit" and text field labeled "Celsius" and set it to "0.0 Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started