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.

The property "Connected": false of of Element "trail" does not work

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

Trying to plot points in a trail-element of the JavaScript platform
kostas papamichalis
1 Posts

I am working an application in EJJS platform, in the JavaScript flavor. The Java VM in my PC is the 1.8 JRE SE 32bit. The EJJS version is the 5.3.180219. I use the Mozilla browser.
Description of the problem: I try to plot separate points with coordinates (t,x), where x is a certain function of t, in a trail-element. If the property 'Connected' has the value 'true' everything goes OK: The browser returns the anticipated continues curve. Nevertheless if the value is 'false', although the applet is running, nothing appears in the corresponding window. Nothing is noticed as 'error' in the console of the browser. I tried to use the commands _view.trail.setProperty("InputX", ...)... in the main program, but the results were the same.
Please, help me!

Kostas Papamichalis
PhD Physics

Attached File: osmosis.zip


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