Skip to content
Snippets Groups Projects
Commit e3aff8b6 authored by Ludovic Apvrille's avatar Ludovic Apvrille
Browse files

c

parent b58e6113
No related branches found
No related tags found
No related merge requests found
...@@ -1411,18 +1411,15 @@ public class JFrameInteractiveSimulation extends JFrame implements ActionListene ...@@ -1411,18 +1411,15 @@ public class JFrameInteractiveSimulation extends JFrame implements ActionListene
public void makeStatus(String s) { public void makeStatus(String s) {
//System.out.println("busystatus=" + busyStatus); //System.out.println("busystatus=" + busyStatus);
if (s.equals("term")) {
status.setText("terminated");
} else {
status.setText(s);
}
if (s.equals("busy")) { if (s.equals("busy")) {
status.setText("Busy");
setBusyStatus(); setBusyStatus();
busyMode = 2; busyMode = 2;
//busyStatus = true; //busyStatus = true;
} }
if (s.equals("ready")) { if (s.equals("ready")) {
status.setText("Ready");
if (busyMode == 2) { if (busyMode == 2) {
//System.out.println("Sending time command"); //System.out.println("Sending time command");
askForUpdate(); askForUpdate();
...@@ -1433,6 +1430,7 @@ public class JFrameInteractiveSimulation extends JFrame implements ActionListene ...@@ -1433,6 +1430,7 @@ public class JFrameInteractiveSimulation extends JFrame implements ActionListene
} }
if (s.equals("term")) { if (s.equals("term")) {
status.setText("Terminated");
if (busyMode == 2) { if (busyMode == 2) {
askForUpdate(); askForUpdate();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment