projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altosui: Add a 'Graph Flight' button to the 'landed' tab
[fw/altos]
/
altosui
/
AltosIgniteUI.java
diff --git
a/altosui/AltosIgniteUI.java
b/altosui/AltosIgniteUI.java
index 42120b92d0250d7124d0cccb2adcdcd7ab9c5650..806b87b9d4e9fcdb60d7eb27a1d4e6c508461b52 100644
(file)
--- a/
altosui/AltosIgniteUI.java
+++ b/
altosui/AltosIgniteUI.java
@@
-43,6
+43,7
@@
public class AltosIgniteUI
JToggleButton arm;
JButton fire;
javax.swing.Timer timer;
JToggleButton arm;
JButton fire;
javax.swing.Timer timer;
+ JButton close;
int apogee_status;
int main_status;
int apogee_status;
int main_status;
@@
-402,6
+403,16
@@
public class AltosIgniteUI
fire.addActionListener(this);
fire.setActionCommand("fire");
fire.addActionListener(this);
fire.setActionCommand("fire");
+ c.gridx = 0;
+ c.gridy = 4;
+ c.gridwidth = 2;
+ c.anchor = GridBagConstraints.CENTER;
+ close = new JButton ("Close");
+ pane.add(close, c);
+ close.addActionListener(this);
+ close.setActionCommand("close");
+
+
pack();
setLocationRelativeTo(owner);
pack();
setLocationRelativeTo(owner);