CIT 597 Assignment 5: Write a Web Browser
Fall 2007, David Matuszek

Purposes of this assignment:

General idea of the assignment:

Write a web browser. It will handle images, hyperlinks, and most text markup.

Your browser will be very limited. It will not handle frames, applets, XML, Flash, etc. But it will have one feature that most browsers do not--it will show you the HTTP "wrapper" as well as the page itself. It should look something like this:


Things you need to know:

The javax.swing.JEditorPane class can display plain text, RTF (Rich Text Format), or simple HTML. It has these constructors:

Some methods of JEditorPane are:

It is possible to follow a link that is displayed in an HTML JEditorPane:

Details:

Supply good Javadoc documentation for all non-private elements of your program.

The Networking Examples page has all the bits and pieces you need. You are welcome to take whatever code fragments you need, and reassemble them into a program that meets the specifications of this assignment.

Due date:

Wednesday, October 24, before midnight. Zip the folder containing your complete program, including javadoc documentation, and submit via Blackboard.