projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altosui: Add map preloading GUI
[fw/altos]
/
altosui
/
AltosUI.java
diff --git
a/altosui/AltosUI.java
b/altosui/AltosUI.java
index 6a24d8a996899f915d98d8f9587834d0a892d5a3..d8c8d61ce6794f8b6b4d8717c839bd2bc77dd916 100644
(file)
--- a/
altosui/AltosUI.java
+++ b/
altosui/AltosUI.java
@@
-180,6
+180,13
@@
public class AltosUI extends JFrame {
}
});
}
});
+ b = addButton(1, 2, "Load Maps");
+ b.addActionListener(new ActionListener() {
+ public void actionPerformed(ActionEvent e) {
+ LoadMaps();
+ }
+ });
+
setTitle("AltOS");
pane.doLayout();
setTitle("AltOS");
pane.doLayout();
@@
-238,6
+245,10
@@
public class AltosUI extends JFrame {
new AltosScanUI(AltosUI.this);
}
new AltosScanUI(AltosUI.this);
}
+ void LoadMaps() {
+ new AltosSiteMapPreload(AltosUI.this);
+ }
+
/*
* Replay a flight from telemetry data
*/
/*
* Replay a flight from telemetry data
*/