diff options
author | Keith Packard <keithp@keithp.com> | 2011-07-09 18:41:15 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-07-16 14:26:44 -0700 |
commit | 8c20030ea4eb8e068e1ba88e01d07dfbc27bd7db (patch) | |
tree | 63d1d83193db489ea60c6cef8a8ece453f1afd3a /altosui/AltosUI.java | |
parent | 7bb11b716ccb6c80701bc3f34ecf9bef97cbbfc9 (diff) |
altosui: Start adding support for scanning radio for available devices
This is untested.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosUI.java')
-rw-r--r-- | altosui/AltosUI.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/altosui/AltosUI.java b/altosui/AltosUI.java index 7bb4ba12..6a24d8a9 100644 --- a/altosui/AltosUI.java +++ b/altosui/AltosUI.java @@ -172,6 +172,14 @@ public class AltosUI extends JFrame { } }); + + b = addButton(0, 2, "Scan Channels"); + b.addActionListener(new ActionListener() { + public void actionPerformed(ActionEvent e) { + ScanChannels(); + } + }); + setTitle("AltOS"); pane.doLayout(); @@ -226,6 +234,10 @@ public class AltosUI extends JFrame { new AltosIgniteUI(AltosUI.this); } + void ScanChannels() { + new AltosScanUI(AltosUI.this); + } + /* * Replay a flight from telemetry data */ |