X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=altosui%2FAltosUI.java;h=60adfc7c823a7d480f690ae983da296f73d26af1;hb=27835686648e14b030f6f7ec1fc0c0fd1c387ea4;hp=27c41838e12ea15189d50bf65d4501f2619d9ddb;hpb=4d94e8f9f807a0bbeab0cdead011e74eeca1d1b6;p=fw%2Faltos diff --git a/altosui/AltosUI.java b/altosui/AltosUI.java index 27c41838..60adfc7c 100644 --- a/altosui/AltosUI.java +++ b/altosui/AltosUI.java @@ -210,6 +210,13 @@ public class AltosUI extends JFrame { }); b.setToolTipText("Check flight readiness of altimeter in idle mode"); + b = addButton(3, 2, "Launch Controller"); + b.addActionListener(new ActionListener() { + public void actionPerformed(ActionEvent e) { + LaunchController(); + } + }); + setTitle("AltOS"); pane.doLayout(); @@ -272,6 +279,10 @@ public class AltosUI extends JFrame { new AltosSiteMapPreload(AltosUI.this); } + void LaunchController() { + new AltosLaunchUI(AltosUI.this); + } + /* * Replay a flight from telemetry data */