NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

[platform-dev] setting the wait cursor does not work

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users
View previous topic :: View next topic  
Author Message
cccp14



Joined: 26 Nov 2010
Posts: 8

PostPosted: Fri May 04, 2012 1:35 pm    Post subject: [platform-dev] setting the wait cursor does not work Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo