diff options
author | Keith Packard <keithp@keithp.com> | 2011-07-17 08:17:44 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-07-17 08:17:44 -0700 |
commit | f7cd8317bf78ece334e1ceb0263b875ca43bbbd2 (patch) | |
tree | f8f8d2778d91a10700711d24b3c904532d7c9d32 /altosui/AltosUI.java | |
parent | 51796e2f1ebce3ee8dc1ac90648381410c1379ee (diff) | |
parent | a482d904a3f391c3a24df3660acb3f3696aa6766 (diff) |
Merge branch 'preload-maps'
Diffstat (limited to 'altosui/AltosUI.java')
-rw-r--r-- | altosui/AltosUI.java | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/altosui/AltosUI.java b/altosui/AltosUI.java index 7bb4ba12..d8c8d61c 100644 --- a/altosui/AltosUI.java +++ b/altosui/AltosUI.java @@ -172,6 +172,21 @@ public class AltosUI extends JFrame { } }); + + b = addButton(0, 2, "Scan Channels"); + b.addActionListener(new ActionListener() { + public void actionPerformed(ActionEvent e) { + ScanChannels(); + } + }); + + b = addButton(1, 2, "Load Maps"); + b.addActionListener(new ActionListener() { + public void actionPerformed(ActionEvent e) { + LoadMaps(); + } + }); + setTitle("AltOS"); pane.doLayout(); @@ -226,6 +241,14 @@ public class AltosUI extends JFrame { new AltosIgniteUI(AltosUI.this); } + void ScanChannels() { + new AltosScanUI(AltosUI.this); + } + + void LoadMaps() { + new AltosSiteMapPreload(AltosUI.this); + } + /* * Replay a flight from telemetry data */ |