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,