Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

sample swt progress display

 
Jeff Kish
Greenhorn
Posts: 7
  • 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
  • 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