Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Progressbar is not showing when downloading file from a given location

Anuj Joshi
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 20706
Chrome Eclipse IDE Java Windows
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic