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 make split panel remember user choice?

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

how to make split panel remember user choice?
lookang Avatar
222 Posts

how to make split panel remember user choice?

dear OSP,

i like the split panel option in EJS and wish to implement it on all my simulation models like the data analysis tool, tracker or EJS authoring toolkit.
but before that, i need to figure out if there is a way to remember past user input on the split panel.

i tried to arrange in preview view the desired split panel look and proportion but i can't make it remember past user choice of the size of the left and right panel.

is it possible to do remember user choice of split panel in current EJS version?

attached is my attempt to implement split panel but with no success at the memory of user choice or start-up size using the preview to determine the look and feel.

Attached File: ejs_Momentum1DForceModel06.zip

OSP@SG blog
OSP@SG Digital Library

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