aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes sample swt progress display Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "sample swt progress display" Watch "sample swt progress display" New topic
Author

sample swt progress display

Jeff Kish
Greenhorn

Joined: Apr 13, 2006
Posts: 5
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


old newbie trying to make my rickety brain soak it all up.<br />Live Long and Prosper
James M Chan
Greenhorn

Joined: Sep 23, 2008
Posts: 5
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sample swt progress display
 
Similar Threads
fastest way fetch data through http
shell setactive or force active.
Dragging a file from swt to windows file system
Swing + SWT
AWT/Swing Event Threads vs SWT - Rob?