Being a Java fanboy, I keep myself indulged with writing some sort of applications or code snippets in Java in my leisurely time. During last few months I have been working on this Java download manager...Its nothing but a simple program having lots of classes and files etc.
|Java Swing download manager|
Creating an URL object
Getting URLConnection object from URL object
Getting InputStream object from URLConnection object
Then reading the InputStream as usual
/*A simple algorithm to read and write the downloaded file to the local disk.*/
With the above code the file located at a specific URL is downloaded and saved to the local disk. I have packed the whole simple read-write program into Java Swing desktop Application. This way I also got to learn a little bit of a Java Swing API.
The following screen-shot depicts the program activity on the console or command prompt.
I believe and assure that this is a software written just out of interest, but your comments and criticisms are always welcome anywhere on The4thdimension.