The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

This topic is READ ONLY
import-bot (20211) [Avatar] Offline
#1
[Originally posted by vpalkonda]

Hi
I am able to set a cursor to Wait_Cursor on a panel, but unable to set it
back to Default_Cursor. Actually I have JDialog with a border layout.
On to the North I have a panel in which a combobox will change the panels
on the center of the JDialog. In of the panel, I have a table. When I start
to fill the table, I set it to Wait_cursor and as soon as I am done then I
set it back to default_cursor. unless I move the mouse I am unable to get the
default_cursor. Any help is appriciated.

Thanks
Vamshi
import-bot (20211) [Avatar] Offline
#2
Re: Changing back to default cursor - a Solution
[Originally posted by manis]


I did get around this problem by setting and resetting the cursor in a separate
thread and by fake-sending a mouseevent for resetting the cursor.