File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes JProgressBar Does Not Update From Action, DnD, or Cut and Paste Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JProgressBar Does Not Update From Action, DnD, or Cut and Paste" Watch "JProgressBar Does Not Update From Action, DnD, or Cut and Paste" New topic
Author

JProgressBar Does Not Update From Action, DnD, or Cut and Paste

Yoo-Jin Lee
Ranch Hand

Joined: Nov 01, 2000
Posts: 119
Hi,
I can't get the JProgressBar to update correctly. Any ideas? I think it may be a bug? I tested from 1.3.1 to the 1.4.1_02.

Thanks for any help.
-Yoo-Jin
Yoo-Jin Lee
Ranch Hand

Joined: Nov 01, 2000
Posts: 119
Yeah!
Looks like the SwingWorker solves this.
new code:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JProgressBar Does Not Update From Action, DnD, or Cut and Paste