The source code of Furniture.java: import java.io.*; public class Furniture { public static void doHeader(PrintWriter out, String title) throws IOException { doHeader(out, title, null) ; } // doHeader public static void doHeader(PrintWriter out, String title, String headMaterial) throws IOException { out.println("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">") ; out.println("<HTML LANG=EN>") ; out.println("<HEAD>") ; out.println("<META HTTP-EQUIV=\"Content-Type\" " +"CONTENT=\"text/html; charset=iso-8859-1\">") ; out.println("<LINK REL=\"stylesheet\" TYPE=\"text/css\" " +"HREF=\"http://www.cs.stir.ac.uk/~sbj/styles/basic.css\">") ; out.println("<TITLE>" +title +"</TITLE>") ; if (headMaterial != null) { out.println(headMaterial) ; } out.println("</HEAD>") ; out.println("<BODY>") ; out.println("<IMG SRC=\"http://www.cs.stir.ac.uk/img/compsci.gif\" " +"ALT=\"Departmental Logo\">") ; out.println("<H1>" +title +"</H1>") ; } // doHeader public static void doFooter(PrintWriter out) throws IOException { out.println("<HR>") ; out.println("<ADDRESS>") ; out.println("<A HREF=\"mailto:sbj@cs.stir.ac.uk\">Dr Simon B Jones (sbj@cs.stir.ac.uk)</A>" ) ; out.println("</ADDRESS>") ; out.println("</BODY>") ; out.println("</HTML>") ; } // doFooter } // class