tag = readTag(inrdr);
String tag = readTag(inrdr);
	public void checkOut(String pageURL) {		String thisLine = null;		URL root = null;		if (pageURL == null) {			throw new IllegalArgumentException(				"checkOut(null) isn't very useful");		}		// Open the URL for reading		try {			root = new URL(pageURL);			BufferedReader inrdr = null;			char thisChar = 0;			String tag = null;  			inrdr = new BufferedReader(new InputStreamReader(root.openStream()));			int i;			while ((i = inrdr.read()) != -1) {				if (done) {					textWindow.append("-- Interrupted --");					return;				}				thisChar = (char)i;				if (thisChar == '<') {					tag = readTag(inrdr);					// System.out.println("TAG: " + tag);					if (tag.toUpperCase().startsWith("<A ") ||						tag.toUpperCase().startsWith("<A\t")) {												String href = extractHREF(tag);						// Can't really validate these!						if (href.startsWith("mailto:"))							continue;						for (int j=0; j<indent; j++)							textWindow.append("\t");						textWindow.append(href + " -- ");						// don't combine previous append with this one,						// since this one can throw an exception!						textWindow.append(checkLink(root, href) + "\n");						// If HTML, check it recursively						if (href.endsWith(".htm") ||							href.endsWith(".html")) {								++indent;								if (href.indexOf(":") != -1)									checkOut(href);								else {									String newRef = root.getProtocol() +										 "://" + root.getHost() + "/" + href;									// System.out.println(newRef);									checkOut(newRef);								}								--indent;						}					}				}			}			inrdr.close();		}		catch (MalformedURLException e) {			textWindow.append("Can't parse " + pageURL + "\n");		}		catch (IOException e) {			System.err.println("Error " + ":(" + e +")");		}	}