()
| 93 | } |
| 94 | |
| 95 | public void resetSimulation() { |
| 96 | model.stopSimulation(); |
| 97 | getControl("runButton").setProperty("text", "Start"); |
| 98 | model.reset(); |
| 99 | createDefaultParticle(); |
| 100 | loadDefaultXML(); |
| 101 | if(getBoolean("showInspector")&&(model.defaultTrajectory!=null)&&(model.inspector!=null)) { |
| 102 | model.inspector.show(); |
| 103 | } |
| 104 | model.plottingPanel.repaint(); |
| 105 | } |
| 106 | |
| 107 | void createDefaultParticle(){ |
| 108 | model.createDefaultParticle(); |
no test coverage detected