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.

How to use ArrayList?

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

ArrayList usage
Eduard Saakashvili
1 Posts

We're trying to create and use an ArrayList. Do we declare one in the variables tab? Do we have to import something? Right now, we are able to declare an ArrayList in variables, but it does not work when we try to run the ArrayList.add() function.

Current Replies - View all
Re: ArrayList usage   (Francisco Esquembre - )
OSP Projects:
Open Source Physics - EJS Modeling
Physlet Physics
Physlet Quantum Physics
STP Book