X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=altosui%2FAltosUI.java;h=6a24d8a996899f915d98d8f9587834d0a892d5a3;hb=e905042879147dd86241bf2dcc7437e5a6eb7578;hp=7955c1c20660a5348537a9a5450cdacf5b7434b0;hpb=17f38e045fcd8ca0224095c0b2b7b098df77a8d8;p=fw%2Faltos diff --git a/altosui/AltosUI.java b/altosui/AltosUI.java index 7955c1c2..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(); @@ -219,13 +227,17 @@ public class AltosUI extends JFrame { } void FlashImage() { - new AltosFlashUI(AltosUI.this); + AltosFlashUI.show(AltosUI.this); } void FireIgniter() { new AltosIgniteUI(AltosUI.this); } + void ScanChannels() { + new AltosScanUI(AltosUI.this); + } + /* * Replay a flight from telemetry data */