Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » ProgressIndicator doesnt show progress...
ProgressIndicator doesnt show progress... [message #467637] Thu, 02 February 2006 15:59 Go to next message
Eclipse UserFriend
Originally posted by: malle.gmx.net

Hi, i want use a JFace ProgressIndicator with beginAnimatedTask(), but it
doesnt work. there is only grey bar in my shell. perhaps anyone can give
me an example?
Re: ProgressIndicator doesnt show progress... [message #467641 is a reply to message #467637] Thu, 02 February 2006 19:06 Go to previous message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
It might be that you're doing the work in the UI thread, so that the UI doesn't update. How are you kicking off your task? beginAnimatedTask() should be all you need to call, if you don't know how much work you're doing. Otherwise, do begin(100) and then do worked(1) for each of your units (assuming 100 units of work).

Alex.
Previous Topic:Scroll Mouse Button does not behave natively on Windows
Next Topic:executing an Action from Intro view
Goto Forum:
  


Current Time: Mon Nov 20 06:10:03 GMT 2017

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

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