Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java GUI > Doing setCursor...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 9688 of 9786
Post > Topic >>

Doing setCursor in a button callback?

by ptomblin+netnews@[EMAIL PROTECTED] (Paul Tomblin) May 5, 2008 at 11:17 PM

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@[EMAIL PROTECTED]
> 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
 




 2 Posts in Topic:
Doing setCursor in a button callback?
ptomblin+netnews@[EMAIL P  2008-05-05 23:17:32 
Re: Doing setCursor in a button callback?
Daniel Pitts <newsgrou  2008-05-05 16:34:33 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Jul 9 6:57:17 CDT 2008.