diff options
author | Keith Packard <keithp@keithp.com> | 2014-06-10 11:36:03 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-06-10 11:36:03 -0700 |
commit | ac33ca137551e32235cd2a0304da4b5e7af51a44 (patch) | |
tree | 7e6e4ec2dfbfa60e6f4c9c2cbb176ad255da5196 | |
parent | 73249dbf16382c91c2a220ff852a4f099fe0de3d (diff) |
telegps: Add statistics tab to graph UI
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | telegps/TeleGPSGraphUI.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/telegps/TeleGPSGraphUI.java b/telegps/TeleGPSGraphUI.java index 84c80815..b7fc4caa 100644 --- a/telegps/TeleGPSGraphUI.java +++ b/telegps/TeleGPSGraphUI.java @@ -42,6 +42,7 @@ public class TeleGPSGraphUI extends AltosUIFrame AltosState state; AltosFlightStats stats; AltosGraphDataSet graphDataSet; + AltosFlightStatsTable statsTable; void fill_map(AltosStateIterable states) { for (AltosState state : states) { @@ -66,10 +67,13 @@ public class TeleGPSGraphUI extends AltosUIFrame stats = new AltosFlightStats(states); graphDataSet = new AltosGraphDataSet(states); graph = new AltosGraph(enable, stats, graphDataSet); + statsTable = new AltosFlightStatsTable(stats); + map = new AltosSiteMap(); pane.add("Flight Graph", graph.panel); pane.add("Configure Graph", enable); + pane.add("Statistics", statsTable); fill_map(states); pane.add("Map", map); |