diff options
author | Keith Packard <keithp@keithp.com> | 2010-11-25 15:56:42 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-11-25 16:30:19 -0800 |
commit | 12fb7f0e70cd244475d84469f93283112478d1e1 (patch) | |
tree | eaada3e2ea3534f3c8d7eae1dc77f1c83651cb36 /src/ao_task.c | |
parent | b74cec6cd0bc043f53e9e28472765aa343136813 (diff) |
altosui: Only call swing display functions from main thread.
Swing insists that all display functions be called from a single
thread, and the flight window wasn't following this for display
updates. Use SwingUtilities.invokeLater to make sure the flight UI
updates happen in the right context.
Fixes a UI freeze on Mac OS.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_task.c')
0 files changed, 0 insertions, 0 deletions