how do make Ejs applet run forever (time increase by dt ) unless the pause or reset?

i have a strange applet which i remixed from, i tried to track down the codes for the end of simulation but i don't see any.

any idea what is causing the applet to end?

you can make the applet end by changing e=0, i thought it would continue to count t which is what i wanted.

/htdocs/ntnujava/ejsuser/14019/users/sgeducation/lookang/Car2_pkg/Car2.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(1311.4kB):double click downloaded file to run it. (7 times by 2 users) , Download EJS source (5 times by 1 users) View EJS source