Mercurial > hg > Members > sugi > javafx
comparison src/alice/test/topology/aquarium/fx/UpdateData.java @ 4:50d77513d52e
Platform runLater must use for handling instance from other thread (Not on FX application thread )
author | e095732 |
---|---|
date | Mon, 28 Jan 2013 00:22:17 +0900 |
parents | |
children | b973de8b6785 |
comparison
equal
deleted
inserted
replaced
3:4930f8daf49d | 4:50d77513d52e |
---|---|
1 package alice.test.topology.aquarium.fx; | |
2 | |
3 import alice.codesegment.CodeSegment; | |
4 | |
5 public class UpdateData extends CodeSegment { | |
6 | |
7 private String key; | |
8 private FishData fd; | |
9 | |
10 public UpdateData(String key, FishData fd){ | |
11 this.key = key; | |
12 this.fd = fd; | |
13 } | |
14 | |
15 @Override | |
16 public void run() { | |
17 ods.update("local", this.key, fd); | |
18 } | |
19 } |