Please use JFrame in Java to create the panels with the values in the panels.
- Should use a FlowLayout for the nPanel2 with TextField and a GridLayout and another panel for the on/off.
- For the sPanel2, it should have the following:
a. eastPanel3 with a FlowLayout
b. centerPanel3 with northPanel4 and southPanel4. Then the southPanel should have centerPanel5 and eastPanel5.
This is all just visual, so no more than just showing it.
frame
Calculator
mainPanel
FlowLayout
nPanel?
displayTextField
On/Off
GridLayout (4,4)
cPanel2
x^2
√x
8
9
5
6
√4
2
3
Panel3 FlowLayout
sPanel?2
@
cPanels