Assignment 2 - EE3206/EE5805 Java Programming and...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
1 EE3206/EE5805 Java Programming and Applications Assignment 2 – File Download Manager Write a multi-threaded Download Manager program that can download multiple files from HTTP servers concurrently. The program should present a graphical user interface for user to control and enter the URLs of the web files. Your program should be launched with a command line like this: java sid50001234.DMFrame where sid50001234 is the package and DMFrame is the main class of your program. You should substitute your own student ID number to the package name. To ease your job, an input stream class – HTTPFileInputStream is given to you to read remote file specified by a HTTP URL. The details are documented in the following link. You will need to add the library file DMLib.jar to your Netbeans project. http://eda.ee.cityu.edu.hk/~cwting/course/ee3206/DMLib/javadoc/ When the program is first started, it displays a text field for users to enter the URL (Figure 1). After typing the correct URL, users can click the [Start] button to initiate
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/20/2010 for the course ELECTRONIC EE3206 taught by Professor Tingchiwang during the Spring '10 term at École Normale Supérieure.

Page1 / 3

Assignment 2 - EE3206/EE5805 Java Programming and...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online