This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
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 Java Interview Guide this week in the Jobs Discussion 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 :-)
I agree. Here's the link:
subject: sample swt progress display
It's not a secret anymore!