Problem Statement
Create a Swing form with a text field, button, and label. Clicking the button must echo the entered name in the label.
DEMO-OOP-33 โข Object Oriented Programming
Create a Swing form with a text field, button, and label. Clicking the button must echo the entered name in the label.
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.
Lina
Hello, Lina
Omar
Hello, Omar
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question