diff options
author | Keith Packard <keithp@keithp.com> | 2013-11-12 14:28:30 +0900 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-11-12 14:28:30 +0900 |
commit | 45db3076b257adcf2c9f69ed0927f09d94af7a50 (patch) | |
tree | 475a0ba7758949a5863c7efb8c8ba46b96e802ed /altosui/AltosEepromManage.java | |
parent | 6aa99c160f0695eb25ccc0598e4c36224c89dab4 (diff) |
altosui: Make AltosEepromDownload not swing-dependent
Will move to altoslib
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosEepromManage.java')
-rw-r--r-- | altosui/AltosEepromManage.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/altosui/AltosEepromManage.java b/altosui/AltosEepromManage.java index b2d8a130..da0a9777 100644 --- a/altosui/AltosEepromManage.java +++ b/altosui/AltosEepromManage.java @@ -133,11 +133,13 @@ public class AltosEepromManage implements ActionListener { for (AltosEepromLog flight : flights) any_selected = any_selected || flight.selected; if (any_selected) { - download = new AltosEepromDownload(frame, + AltosEepromMonitorUI monitor = new AltosEepromMonitorUI(frame); + monitor.addActionListener(this); + serial_line.set_frame(frame); + download = new AltosEepromDownload(monitor, serial_line, remote, flights); - download.addActionListener(this); /* * Start flight log download */ |