Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Use swt's progressbar during long period operation accurately?
Use swt's progressbar during long period operation accurately? [message #454840] Sat, 30 April 2005 05:32 Go to next message
Eclipse UserFriend
Originally posted by: handong.sinotrans.com

i have a appcation that make a long period operation.(zip files) so,i want
to show a swt's progressbar to user when they must waiting for result.
but how can i control progressbar's action , make it disappeared
automatically when the long period operation is over?

does i must use thread?
Re: Use swt's progressbar during long period operation accurately? [message #454842 is a reply to message #454840] Sat, 30 April 2005 18:31 Go to previous message
Eclipse UserFriend
Yes. And use "syncExec(Runnable)" to update progress information
at an appropriate interval. "asynchExec" will not work as you intended.



"handong" <handong@sinotrans.com> wrote in message
news:430c68c113ff3b41d47a688b2ab303d4$1@www.eclipse.org...
> i have a appcation that make a long period operation.(zip files) so,i want
> to show a swt's progressbar to user when they must waiting for result.
> but how can i control progressbar's action , make it disappeared
> automatically when the long period operation is over?
>
> does i must use thread?
>
Previous Topic:Help with Font Issue
Next Topic:TreeItem expansion strategy
Goto Forum:
  


Current Time: Fri Nov 07 17:43:48 EST 2025

Powered by FUDForum. Page generated in 0.03843 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top