summaryrefslogtreecommitdiff
path: root/ao-tools/altosui/AltosUI.java
diff options
context:
space:
mode:
Diffstat (limited to 'ao-tools/altosui/AltosUI.java')
-rw-r--r--ao-tools/altosui/AltosUI.java23
1 files changed, 17 insertions, 6 deletions
diff --git a/ao-tools/altosui/AltosUI.java b/ao-tools/altosui/AltosUI.java
index bedf2459..5e9566f0 100644
--- a/ao-tools/altosui/AltosUI.java
+++ b/ao-tools/altosui/AltosUI.java
@@ -125,40 +125,47 @@ public class AltosUI extends JFrame {
Replay();
}
});
- b = addButton(0, 1, "Graph Data");
+ b = addButton(3, 0, "Graph Data");
b.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
GraphData();
}
});
- b = addButton(1, 1, "Export Data");
+ b = addButton(4, 0, "Export Data");
b.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
ExportData();
}
});
- b = addButton(2, 1, "Configure TeleMetrum");
+ b = addButton(0, 1, "Configure TeleMetrum");
b.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
ConfigureTeleMetrum();
}
});
- b = addButton(0, 2, "Configure AltosUI");
+ b = addButton(1, 1, "Configure AltosUI");
b.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
ConfigureAltosUI();
}
});
- b = addButton(1, 2, "Flash Image");
+ b = addButton(2, 1, "Flash Image");
b.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
FlashImage();
}
});
- b = addButton(2, 2, "Quit");
+ b = addButton(3, 1, "Fire Igniter");
+ b.addActionListener(new ActionListener() {
+ public void actionPerformed(ActionEvent e) {
+ FireIgniter();
+ }
+ });
+
+ b = addButton(4, 1, "Quit");
b.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
System.exit(0);
@@ -215,6 +222,10 @@ public class AltosUI extends JFrame {
new AltosFlashUI(AltosUI.this);
}
+ void FireIgniter() {
+ new AltosIgniteUI(AltosUI.this);
+ }
+
/*
* Replay a flight from telemetry data
*/