View Single Post
  #1 (permalink)  
Old 01-08-2008, 11:21 PM
ludragon ludragon is offline
Member
 
Join Date: Jan 2008
Posts: 4
ludragon is on a distinguished road
GUI cursor change problem
I have a gui that changes the cursor to the hourglass as a certain task is being performed:
Code:
container.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
I thought the code to change it back to the default arrow would be rather simple:
Code:
container.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
but its just plain not changing back to the arrow! I have tried all the Cursor.CONSTANTS, but its stuck on the hourglass and wont change from that. I have debugged and the above code definately gets called. What do I have to do to change the cursor back?
Reply With Quote
Sponsored Links