Problem Statement
Create a Swing panel with a checkbox, a button, and a label. The label must show whether the checkbox is on or off after the action event.
DEMO-OOP-33 โข Object Oriented Programming
Create a Swing panel with a checkbox, a button, and a label. The label must show whether the checkbox is on or off 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.
1
Status: ON
0
Status: OFF
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question