Thanks prof
I have just one comment about [b]./[/b] when i add this in code and variable panel ejs print message [b]Required files not found [/b]
So l delete [b]./[/b] and change to [b]"_data/photoelectric/0.gif"[/b] i also delete from code [b]./[/b] to become like it
[code]if(sodio){
   material = "_data/photoelectric/sodio.gif";
   potencialcorte = 2.28;
}
else{
   material = "_data/photoelectric/cesio.gif";
   potencialcorte = 2.1;
}[/code]
So after run applet work fine and message not appear again i didn't know what the reason, but now is work fine!

/htdocs/ntnujava/ejsuser/37048/users/egy/ahmed/qm_photoelectric_pkg/qm_photoelectric.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(1441.9kB):double click downloaded file to run it. (16 times by 9 users) , Download EJS source (5 times by 4 users) View EJS source