XML Files

Within this framework, a typical XML file looks like the following:

<?xml version="1.0" encoding="UTF-8" ?>

        <object class="org.opensourcephysics.controls.OSPApplication">

<property name="control" type="object">

        <object class="org.opensourcephysics.controls.AnimationControl">

           <property name="initialize_mode" type="boolean">false</property> 

           <property name="dt" type="string">0.01</property>

           <property name="x min" type="string">-5</property>

           <property name="x max" type="string">5</property>

           <property name="psi range" type="string">1</property>

    <property name="re coef" type="string">{0.7,0.7}</property>

           <property name="im coef" type="string">{0,0}</property>

           <property name="V(x)" type="string">sho</property> 

    </object>

    </property>
<
property name="model" type="object">
<object   class="org.opensourcephysics.davidson.qm.QMSuperpositionApp" />
</property>
</object
>

Note that the properties that appear in the control are given in the list of properties.  Also note that the program used is
 org.opensourcephysics.davidson.qm.QMSuperpositionApp
which is contained in the demo200407.jar application provided.  Since XML files can be edited within such programs as FrontPage, you could edit them directly, changing the scenario you want to see in the animation.