} else if (RESUME.equals(cmd)) {
//If a sim is paused, resume it...if a sim is single stepped paused, go to next instruction
//otherwise, start the sim
if (sim.isPaused()) {
sim.resume();
} else if (simTimeSlider.getValue() == 5 && sim.isRunning()) {
// TODO: implement stepping of simulation
//sim.step();
} else if (!sim.isRunning()) {