altosui: Flight data download GUI operations called only from main thread
authorKeith Packard <keithp@keithp.com>
Fri, 26 Nov 2010 00:23:18 +0000 (16:23 -0800)
committerKeith Packard <keithp@keithp.com>
Fri, 26 Nov 2010 00:30:19 +0000 (16:30 -0800)
commit7f88520089660845009148b69bfcea6c9dff9672
treec7e7e885a77379f9dd4d8a1a59d2c0cfe7c52965
parent6d3612e267cd4c1e7fdd74fc33952b3f26f870f5
altosui: Flight data download GUI operations called only from main thread

Swing doesn't like UI functions being called from non-dispatch thread,
so fix up the eeprom download code to use SwingUtilities.invokeLater
to make sure this works right.

Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/AltosEepromDownload.java
altosui/AltosEepromMonitor.java