Scheduled Maintenance: The ComPADRE Network may be temporarily unavailable on Monday, October 12, 2026, from midnight to 6:00 a.m. Eastern Time (Sunday night into Monday morning). We apologize for any inconvenience.

APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Applets

Return to the EJS Modeling forum
Login to post to this thread

Creating an applet HTML page.
Wolfgang
198 Posts

The simplest way to create a HTML page for a single EJS model is to run the model's self contained jar file and then right-click on a graph within the model.   Selecting "Create HTML page" from the pop-up menu produces a HTML page with an embedded applet in the jar file's directory.  The HTML page and the jar file can then be copied to a web server.

Note: You must edit the applet parameters within the HTML page if the location of the jar file relative to the page is changed.

Post edited September 5, 2008 at 4:29 PM EST.


OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book