diff options
| author | Bdale Garbee <bdale@gag.com> | 2010-08-23 23:11:22 -0600 |
|---|---|---|
| committer | Bdale Garbee <bdale@gag.com> | 2010-08-23 23:11:22 -0600 |
| commit | 295043112ccde35092945c286596f9045ee6fa05 (patch) | |
| tree | 9d97f7d8021b768dd0cb0c5d9a2b28b29146e99e /ao-tools/altosui/AltosUI.java | |
| parent | 2007288da8a83e3aa925e11cc196f1c65aab2e5c (diff) | |
| parent | ef8376c4dd8262a34e02b6bb9e19e907ac2f4330 (diff) | |
Merge branch 'new-packet-format' of ssh://git.gag.com/scm/git/fw/altos into new-package-format
Diffstat (limited to 'ao-tools/altosui/AltosUI.java')
| -rw-r--r-- | ao-tools/altosui/AltosUI.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ao-tools/altosui/AltosUI.java b/ao-tools/altosui/AltosUI.java index 49d1f11a..9fd47ea7 100644 --- a/ao-tools/altosui/AltosUI.java +++ b/ao-tools/altosui/AltosUI.java @@ -41,6 +41,7 @@ import altosui.AltosVoice; import altosui.AltosFlightStatusTableModel; import altosui.AltosFlightInfoTableModel; import altosui.AltosChannelMenu; +import altosui.AltosFlashUI; import libaltosJNI.*; @@ -457,6 +458,11 @@ public class AltosUI extends JFrame { void ConfigureTeleMetrum() { new AltosConfig(AltosUI.this); } + + void FlashImage() { + new AltosFlashUI(AltosUI.this); + } + /* * Open an existing telemetry file and replay it in realtime */ @@ -589,6 +595,14 @@ public class AltosUI extends JFrame { }); menu.add(item); + item = new JMenuItem("Flash Image",KeyEvent.VK_F); + item.addActionListener(new ActionListener() { + public void actionPerformed(ActionEvent e) { + FlashImage(); + } + }); + menu.add(item); + item = new JMenuItem("Quit",KeyEvent.VK_Q); item.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Q, ActionEvent.CTRL_MASK)); |
