Editing disabled while running simulator

This commit is contained in:
Remco
2015-04-09 00:51:18 +02:00
parent 6178311c4b
commit a6f32b5739
3 changed files with 17 additions and 1 deletions
+2
View File
@@ -52,6 +52,7 @@ public class ControlPanel extends JPanel
public void actionPerformed(ActionEvent e)
{
p.getT().start();
p.setPlay(true);
runningLabel.setText("Simulation Started");
}
});
@@ -64,6 +65,7 @@ public class ControlPanel extends JPanel
public void actionPerformed(ActionEvent e)
{
p.getT().stop();
p.setPlay(false);
runningLabel.setText("Simulation Stopped");
}
});