Problem Statement
Create a Swing panel that listens for mouse movement and updates the label with the distance from the origin.
DEMO-OOP-33 โข Object Oriented Programming
Create a Swing panel that listens for mouse movement and updates the label with the distance from the origin.
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
Distance: 5.00
6 8
Distance: 10.00
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question