Education Prize Logo
Science SPORE Prize
November 2011

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

ComboBox

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

combobox how to use the tool? - Apr 16, 2013 at 11:49AM
Gabriel Ribeiro
2 Posts

Good afternoon, I am a student in a physics course in Rio de Janeiro - Brazil,

I mounted a simulated free fall of a body under gravity, but ignoring air resistance.
My simulation is running fine but I want to give the user the option to observe the consequences of altering the value of gravity by observing the behavior of the mass elsewhere, as an example, the Moon and Mars.
For this I would use the ComboBox, but I can not make the change program variables. The user chooses the location, but the value of the variable "gravity" remains the same.

A second problem is that when I click to restart it does not restart the simulation.

Could someone help me?

From already thank you.

Gabriel Ribeiro

Post edited April 16, 2013 at 11:50 AM EST.

Post edited April 16, 2013 at 11:50 AM EST.


Current Replies - View all
Re: combobox how to use t...   (Francisco Esquembre - Apr 18, 2013 at 1:57PM)
Re: Re: combobox how to u...   (Gabriel Ribeiro - Apr 23, 2013 at 6:10PM)
Re: combobox how to use t...   (lookang - Apr 19, 2013 at 3:45AM)
The OSP Network:
Open Source Physics - Tracker - EJS Modeling
Physlet Physics
Physlet Quantum Physics