You can use mouse to drag the particle in the middle.
The other two particles will move with the dragged particle, if you click checkbox: sync

/htdocs/ntnujava/ejsuser/2/users/ntnu/fkh/spring_pendulum2_pkg/spring_pendulum2.propertiesFull screen applet or Problem viewing java?Add to exception site list
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
Download EJS jar file(987.4kB):double click downloaded file to run it. (44 times by 8 users) , Download EJS source (5 times by 4 users) View EJS source