Doing setCursor in a button callback?
| From:ptomblin+[netnews@masked-domain] (Paul Tomblin) |
| Sent on:Mon, 5 May 2008 23:17:32 +0000 (UTC) |
I've got a button callback that does some complicated processing, and at
one part is does a setCursor to turn on a busy cursor, and then later
clears it. Most of the time, we don't actually see the cursor change. Am
I right in thinking that the complicated processing needs to be put in
another thread, with the cursor changes done in
"SwingUtiliities.invokeLater" calls?
(This is Java 1.6 on Linux, by the way.)
--
Paul Tomblin <[ptomblin@masked-domain]> http://blog.xcski.com/
Whenever someone says something exceedingly stupid, I feel it my duty to
educate them. Plus, everyone else leaves and the meeting becomes de
facto over. -- Rob Russell understands meetings
Other messages in this topic