Write a Java GUI application to calculate total resistance, current, and power i
ID: 3553186 • Letter: W
Question
Write a Java GUI application to calculate total resistance, current, and power in a circuit. The general appearance of you GUI should be as shown below:
Program must meet the following requirements:
1. Do not use any of the GUI editing capabilities of Eclipse for this assignment (no setBounds).
2. You will only need to use the ActionListener interface for this lab. The only events that your program handles are action events from the 4 buttons.
3. This program is contained in 1 class that has a constructor, a main method, and a nested inner class for the event handler.
4. Must use inheritance to get a JFrame into your application
5. The GUI and event handling setup must be done in the constructor of your GUI class or in private methods called from the constructor.
Hint: it would seem logical to have a private method to build the top, right, left, and bottom panels.
6. The GUI should be organized as follows:
Explanation / Answer
Find Help at http://academicservices.us/ if stuck or confused