NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
cccp14
Joined: 26 Nov 2010 Posts: 8
|
Posted: Fri May 04, 2012 1:35 pm Post subject: [platform-dev] setting the wait cursor does not work |
|
|
Hi, i am asking for your help.
In netbeans platform app, I have a dialog created by DialogDescriptor:
now I want to execute a task like this:
getExportSettings has a section that takes a few seconds to execute.
While this is executed, a want to show a wait mouse cursor. I found this:
http://netbeans-org.1045718.n5.nabble.com/Setting-wait-cursor-td3026613.html#a3026614
setting wait cursor where is a code to set the cursor.
But this does not work, if it is as shown in that link. The cursor will not
change. But if put a code for showing messagedialog in the "run" section of
that code
, after the closing of messageDialog (the task still executes) the cursor is
correct! I dont get it why it is performing like this, can you somehow
explain it or help me to achieve the correct cursor without messageDialog?
thanks
--
View this message in context: http://netbeans-org.1045718.n5.nabble.com/setting-the-wait-cursor-does-not-work-tp5685827.html
Sent from the Netbeans RCP/Platform Users (Open API) mailing list archive at Nabble.com. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|