Hi, I want to set the cursor to WAIT_CURSOR, while my applet is waiting for data back from its servlets. I've got as far as this (test) code ..
I was thinking that this would ... set the cursor to the egg-timer thing .... print out a load of rubbish..... set the cursor back to the default. What it actually does is ....first print out a load of rubbish.... leave the cursor as it is until the print "Rubbish" has finished ... not update the cursor until it gets moved about after the Rubbish has finished. Any ideas why printing stuff out takes precedence over the cursor update ? Cheers, Kate
posted 14 years ago
Works just fine for me. Perhaps you just weren't giving it enough time to re-paint itself so that you could notice it.
"JavaRanch, where the deer and the Certified play" - David O'Meara