altosui: Handle serial calls from swing thread
authorKeith Packard <keithp@keithp.com>
Sun, 27 Mar 2011 07:48:07 +0000 (00:48 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 27 Mar 2011 07:48:07 +0000 (00:48 -0700)
commit006de838bbb096b9443863a46b8a125b1e6b5600
tree79390d32305b91ae18870981e6a992c90ac54605
parentf23d0f3cbf1fb0c8eab497e266625f6410b69ba3
altosui: Handle serial calls from swing thread

Calls from the swing thread cannot be canceled as there's no way to
put up the cancel dialog. In this case, simply use the 5 second
timeout and fail if no communication occurs within that amount of time.

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