[quote author=Fu-Kwun Hwang link=topic=1948.msg7165#msg7165 date=1285042690]
_reset() will reset the whole program, clear memory and start over again.
That is why the data in the table is clear.
[/quote]
agreed.

[quote author=Fu-Kwun Hwang link=topic=1948.msg7165#msg7165 date=1285042690]
You can use [b]_initialize();[/b] instead of [b]_reset();[/b]
[/quote]
i am using it, check my applet the button "init".
but there is still a problem, _initialize() also clear Data in the table, i am not sure why.
or should i use a stored array method to keep the data in another text file? any elegant solution to this problem?

[quote author=Fu-Kwun Hwang link=topic=1948.msg7165#msg7165 date=1285042690]
And you should add one more column for [u]charge[/u] q.
[/quote]
done.

Oh, i tried to Update EJS jar file. but the file seems to be the old file still.
i attached as attachment [url=http://www.phy.ntnu.edu.tw/ntnujava/index.php?action=dlattach;topic=1948.0;attach=3407]ejs_PointCharge.jar [/url]

/htdocs/ntnujava/ejsuser/14019/users/sgeducation/lookang/PointCharge_pkg/PointCharge.propertiesFull screen applet or Problem viewing java?Add http://www.phy.ntnu.edu.tw/ 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(1495.3kB):double click downloaded file to run it. (3 times by 3 users) , Download EJS source (1 times by 1 users) View EJS source