This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills: The software developer's life manual and have John Sonmez on-line!
See this thread for details.
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

sample swt progress display

 
Jeff Kish
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello.
I have an swt app in eclipse that reads a large file.
I'd like to display a progress monitor, but though I pass in the progress bar (only one thread.. probably my problem), the progressBar never updates visually. So I guess I need to run the whole kabloowy in a separate thread. Does anyone have a sample code set I can work from?

Thanks
 
James M Chan
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm sure this is solved by now but here are samples for anyone else looking into swt progress bars :-)

http://www.java2s.com/Code/Java/SWT-JFace-Eclipse/ProgressBar.htm
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic