Commit afcfcc7a authored by Letitia Li's avatar Letitia Li
Browse files

backtracing update

parent 7df72a19
......@@ -77,7 +77,7 @@ public class AvatarSMDReceiveSignal extends AvatarSMDBasicComponent implements C
private TGComponent reference;
protected int latencyX=30;
protected int latencyY=10;
protected int latencyY=25;
protected int textWidth=10;
protected int textHeight=20;
......@@ -210,9 +210,9 @@ public class AvatarSMDReceiveSignal extends AvatarSMDBasicComponent implements C
}
}
}
System.out.println("drawing...");
g.drawString(latencyVals.get(s), x-latencyX/2, y-latencyY*index/2);
g.setColor(c);
index++;
}
}
......
......@@ -74,7 +74,7 @@ public class AvatarSMDSendSignal extends AvatarSMDBasicComponent implements Chec
private TGComponent reference;
protected int latencyX=30;
protected int latencyY=10;
protected int latencyY=25;
protected int textWidth=10;
protected int textHeight=20;
......@@ -205,6 +205,7 @@ public class AvatarSMDSendSignal extends AvatarSMDBasicComponent implements Chec
}
g.drawString(latencyVals.get(s), x-latencyX/2, y-latencyY*index/2);
g.setColor(c);
index++;
}
}
......
......@@ -73,7 +73,7 @@ public class TMLADReadChannel extends TGCWithoutInternalComponent implements Che
protected int linebreak = 10;
protected int latencyX=30;
protected int latencyY=10;
protected int latencyY=25;
protected int textWidth=10;
protected int textHeight=20;
......
......@@ -76,7 +76,7 @@ public class TMLADWriteChannel extends TGCWithoutInternalComponent implements Ch
private ConcurrentHashMap<String, String> latencyVals;
protected int latencyX=30;
protected int latencyY=10;
protected int latencyY=25;
protected int textWidth=10;
protected int textHeight=20;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment