From 45db3076b257adcf2c9f69ed0927f09d94af7a50 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 12 Nov 2013 14:28:30 +0900 Subject: altosui: Make AltosEepromDownload not swing-dependent Will move to altoslib Signed-off-by: Keith Packard --- altosui/AltosEepromManage.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'altosui/AltosEepromManage.java') 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 */ -- cgit v1.2.3