We help IT Professionals succeed at work.

Processing dialog/alert without user input, programmatically closed

FryeM
FryeM asked
on
I have a line of code related to a third party API that can take several seconds to complete.  I would like to display a dialog/alert just before that third party call then close/destroy that dialog/alert object when the third party call is complete.  There would only be a message, and hopefully a “in process” animation, on this dialog/alert with no user buttons, etc.
Comment
Watch Question

Author

Commented:
Your reference is great and provides a nice, PNG graphics image based splash screen.  However my need is like this where a window can be displayed just before a process start advising of a delay, this window being disposed when the intervening process is complete.  I would prefer a window where I can place labels or text advising of the reason for the display.  It would be nice to also have an animated icon (whatever) that suggests processing taking place.

Author

Commented:
I created a splash screen that served my purpose based on the technique in you reference less the graphic component.  I found an interesting link for the animated icon at http://tips4java.wordpress.com/2009/06/21/animated-icon/#comment-667.
Thank you for the reference...your solution is accepted.

Author

Commented:
Very much appreciated.

Commented:

Glad I could help..
Best of luck with your work..

--
YRuZ!