Problem Statement
Create a Swing panel with two text fields, a button, and a label. The label must show the sum after the action event.
DEMO-OOP-33 โข Object Oriented Programming
Create a Swing panel with two text fields, a button, and a label. The label must show the sum after the action event.
Input is given as whitespace-separated values and is used by Main.java to simulate the GUI interaction.
Print the final label text returned by the simulation.
Submit runs every public testcase in this browser. Results and code never leave this device.
3 4
Sum: 7
10 20
Sum: 30
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question