Problem
Ohm's law relates the resistance of an electrical device, such as a portable heater, to the electric current flowing through the device and the voltage applied to it. The law uses the formula I = V/R.
where V is the voltage, measured in volts; R is the resistance, measured in ohms; and I is the answer, the electrical current, measured in amps.
Write an applet that displays a welcome message, two Label prompts, and TextFields. One Label will ask the user to input the voltage; the other Label will ask the user to input the resistance of a device. The applet then will display the current. Remember that because V and R will be entered as integers, the ActionListener will have to parse the numbers into double values in order to perform the division.