Swing Cursor Problem?

Well I want to put CURSOR.WAIT_CURSOR on my screens when there is a Database call and a new screen is being painted.

I have lots of panels so,I took the instance of JApplet in which all my panels reside and did

          JApplet.setCursor(new Cursor(CURSOR.WAIT_CURSOR));

Now I can see the cursor being set to wait cursor mode, but not in areas where there are editable components used like JEditorPane or JTextField. Now I am really in a fix.

I really need a solution where the cursor can be set to WAIT mode and once the database call is over can be set back to DEFAULT mode and this should work on my entire JApplet.

Thanx in advance,


Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

If you want to set the cursor AND disable users from doing anything in the meantime, try popping a modal dialog/frame/window and setting the mouse pointer there. When the call returns it can close the modal...
dumdum420Author Commented:
All widgets are already disabled but the Cursor does not stand into WAIT_MODE on JEditorPane which is used quiet a lot on the User Interface. The JEditorPane is being used only to render text and isEditable() in the JEditorPane is set to false.

The modal window approach does not sound to be a great idea.

If i am really not clear please do ask me again.

Thanx in advance.

Dear expert(s),

A request has been made to close this Q in CS:

Without a response in 72 hrs, a moderator will finalize this question by:

 - Saving this Q as a PAQ and refunding the points to the questionner

When you agree or disagree, please add a comment here.

Thank you.


Community Support Moderator
Experts Exchange
I'm interested in this case as I don't get the essence of what's been done wrong to lose the busy cursor.
Saving this Q as a PAQ and refunding the points to the questionner


Community Support Moderator
Experts Exchange

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.