CIT 597 Assignment 4: Writing a browser
Fall 2009, 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, JavaScript, 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:

Details

Here's something you can do for a small amount of extra credit:

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

JEditorPane

The javax.swing.JEditorPane class can display plain text, RTF (Rich Text Format), or simple HTML. You can get the details from the Java API, but here are a couple of things you need to be careful about.

To make absolute links in the JEditorPane active:

Grading:

Due date:

Midnight Thursday, October 23. Zip all your files and turn them in via Blackboard, not by email.