I have a gui that changes the cursor to the hourglass as a certain task is being performed:
container.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
I thought the code to change it back to the default arrow would be rather simple:
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?