Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simonstrator
PeerfactSim.KOM
Commits
2249783b
Commit
2249783b
authored
Jan 26, 2017
by
Marc Schiller
Browse files
Show overload status as text.
parent
dbebb1a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/de/tud/kom/p2psim/impl/topology/views/visualization/world/ModelFiveGVisualization.java
View file @
2249783b
...
...
@@ -266,9 +266,14 @@ public class ModelFiveGVisualization extends JComponent
// Current Hosts in Segment
g2
.
drawString
(
"H:"
+
entry
.
getHostsInSegment
(),
x
+
10
,
y
+
55
);
}
}
// Segment is overloaded
if
(
entry
.
isOverloaded
())
{
g2
.
drawString
(
"OVERLOAD"
,
x
+
20
,
y
+
80
);
}
// Host has been killed manually
if
(!
entry
.
isAvailable
())
{
g2
.
drawString
(
"!DEAD!"
,
x
+
30
,
y
+
70
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment