From ac33ca137551e32235cd2a0304da4b5e7af51a44 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 10 Jun 2014 11:36:03 -0700 Subject: [PATCH 1/1] telegps: Add statistics tab to graph UI Signed-off-by: Keith Packard --- telegps/TeleGPSGraphUI.java | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.30.2