Manuel Godbert

Greenhorn
+ Follow
since Nov 23, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Manuel Godbert

Finally I found out the solution, setting the cursor on the glasspane of the frame instead of the frame itself.
19 years ago
Hello,

I am experiencing problems trying to change the cursor.
My code first opens a JFrame, then a modal dialog is opened hiding a part of my JFrame and finally some long task is performed after the dialog closes.
I'd like to set a wait cursor on my JFrame before starting the long task but the modal dialog thing seems to stop it from working properly.
I know how I could process my long task in a separate thread or postpone my task in the Event Queue, but this heavy to code (my real long task can be interrupted many times by other dialog windows).

This is my test case:


Thanks to tell me if you know any workaround for my problem !
19 years ago