Is this your first time here? SwingWiki is a Java Swing Developer community site with an big archive of Swing-related usenet groups and mailing lists, but also tips, tricks and articles and book reviews written by your colleagues from around the world. If you came here through a search engine and did not find what you were looking for, make sure to check the wiki table of contents.

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
Found what you were looking for? If not - continue at Wiki Index

Other messages in this topic

SenderDate sentSubject
Daniel Pitts [newsgroup.spamfilter@masked-domain]Mon, 05 May 2008 16:34:33 -0700Re: Doing setCursor in a button callback?

 
Recent changes | RSS changes | Table of contents | News Archive | Terms And Conditions | Register | The Quest For Software++| Ruby Resources
FitNesse Resources