File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "sample swt progress display" Watch "sample swt progress display" New topic

sample swt progress display

Jeff Kish

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


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

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 :-)
Consider Paul's rocket mass heater.
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?