How can I write a Run/Pause routine?
I抎 like to create a simulation application with a 揜un/Pause?and a 揝top?button on a GUI that controls the execution of a method in another 揝imulation?class. I抎 like the Run/Pause button to toggle the simulation between running continuously when 揜un?is pressed and paused when 揚ause?is pressed. 揝top?I imagine as a separate button.

