Problem:
Question 1: In order to handle an event from a JButton object button1, what does a programmer need to do?
Question 2: Write a program that converts a temperature in Fahrenheit to temperature in Centigrade. The program will ask the user to enter a temperature in Fahrenheit as a decimal number. It will then display the same temperature in Centigrade as a decimal number.
Write the code step by step and explain it.