|
|
|
To run the above java applet, your PC needs to
Install java 1.3 plug-in
If the plug-in is not automatically installed, please go to http://java.sun.com/j2se/1.3/download.html and install the JRE (Java Runtime Environment) according to the operating system of your PC.
Modify the policy for using the applet.
MotorSimII is a Java applet that need to communicate with central simulator. In general, the browser will not allow any java applet to communicate with any other machine except the web server that it downloaded the applet from. To run MotorSimII properly, we need to grant the right access to MotorSimII by following the instruction below.
Modify the policy file, ".java.policy", in home directory. For example, in Windows 2000, the home directory is "C:\Documents and Settings\username." Insert these lines at the end of the file.
grant codeBase "http://www.adac.ncsu.edu/-" {
permission java.security.AllPermission;
};If this file is not existed, create a new one with the same content.
For other operating system, please take a look at http://java.sun.com/docs/books/tutorial/security1.2/tour1/step3.html for more information.
Close all windows of the browser and open this page again.
Research Assistant: Rangsarit Vanijjirattikhan
Contact Address:
send
comments/requests to Dr. Mo-Yuen Chow