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 Progressbar is not showing when downloading file from a given location Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Progressbar is not showing when downloading file from a given location" Watch "Progressbar is not showing when downloading file from a given location" New topic
Author

Progressbar is not showing when downloading file from a given location

Anuj Joshi
Greenhorn

Joined: Feb 05, 2009
Posts: 22
Hi all,

I have written a JAVA program for downloading file from given location.
I have used a JProgressBar in GUI for showing downloading status.
But when downloading is starts is not shown it will directly shown at the end of downloading.

I should be displayed at the time of downloading to show the downloading status.




this is my code.
Please tell me that how I can see progressBar showing downloading status.
If you have any solution alternate solution then please tell me with sample code
or mark it in the above code, So that it will be easy for me to understand.

Thanks in advance & please reply soon,
byt tc
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19680
    
  19

Please read these two pages:
http://java.sun.com/products/jfc/tsc/articles/threads/threads1.html
http://faq.javaranch.com/java/JProgressBarDoesntUpdate


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Progressbar is not showing when downloading file from a given location