diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-20 21:22:10 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-20 21:22:10 +0000 |
| commit | e2f8fdc3156040f47264871ded692a3fb90df779 (patch) | |
| tree | c0a3404515822f1526bab5e8bfe1a09e63678972 /sources/simulator/VSSimulation.java | |
| parent | 263d8a4f43ed2d319a88bd11e05112daf8133aa2 (diff) | |
Loggin texts cleaned.
Diffstat (limited to 'sources/simulator/VSSimulation.java')
| -rw-r--r-- | sources/simulator/VSSimulation.java | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sources/simulator/VSSimulation.java b/sources/simulator/VSSimulation.java index 6bdcc97..558eeaf 100644 --- a/sources/simulator/VSSimulation.java +++ b/sources/simulator/VSSimulation.java @@ -45,10 +45,10 @@ public class VSSimulation extends JPanel { private VSMenuItemStates menuItemStates; public class VSMenuItemStates { - private boolean pause; - private boolean replay; - private boolean reset; - private boolean start; + private volatile boolean pause; + private volatile boolean replay; + private volatile boolean reset; + private volatile boolean start; public VSMenuItemStates(boolean pause, boolean replay, boolean reset, boolean start) { this.pause = pause; @@ -110,6 +110,8 @@ public class VSSimulation extends JPanel { } processesComboBox.setSelectedIndex(numProcesses); + localPIDComboBox.setSelectedIndex(0); + globalPIDComboBox.setSelectedIndex(0); thread = new Thread(simulationPanel); thread.start(); |
