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
SimAquaLife
GR3D
Commits
857f4ad9
Commit
857f4ad9
authored
Apr 19, 2020
by
Lambert Patrick
Browse files
better display on label
parent
9e71d07e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/environment/BasinNetworkObserverNEA.java
View file @
857f4ad9
...
...
@@ -119,7 +119,7 @@ public class BasinNetworkObserverNEA extends ObserverListener implements Configu
public
void
valueChanged
(
ObservablesHandler
arg0
,
Object
arg1
,
long
arg2
)
{
// update the label
String
txt
=
Long
.
valueOf
((
time
.
getYear
(
pilot
))).
toString
()
+
(
" "
)
+
time
.
getSeason
(
pilot
).
toString
();
String
txt
=
Long
.
valueOf
((
time
.
getYear
(
pilot
))).
toString
()
+
(
" "
)
+
time
.
getSeason
(
pilot
).
toString
()
+
" - "
;
label
.
setText
(
txt
);
if
(
basinUnderMouse
!=
null
)
{
txt
+=
(
basinUnderMouse
.
getName
()
+
" "
);
...
...
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