(Find which button has been clicked on the console) Add the code to Programming Exercise 12.1 that will display a message on the console indicating which button has been clicked.
Ref prb:
(Use the FlowLayout manager) Write a program that meets the following requirements (see Figure 12.26):
• Create a frame and set its layout to FlowLayout.
• Create two panels and add them to the frame.
•Each panel contains three buttons. The panel uses FlowLayout.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.