Date: Sat, 21 Nov 1998 22:29:44 -0500 From: Edward Ryklin To: Basic Algorithms Class , Kenneth Been Subject: RE: homework 5 update changed the url in kens code, but still get a security violation! can someone explain...? url = null; try { ------------------- url = new URL("http://omicron.acf.nyu.edu/~eqr8244/hw5/input.txt"); ---------------------- } catch (MalformedURLException e) { reportError("bad url"); return; } } Date: Sun, 22 Nov 1998 12:34:58 -0500 (EST) From: Kenneth Been To: Basic Algorithms Class Subject: Re: homework 5 update (fwd) This is a good idea that someone in the class recommended. Ken You might want to tell people to try: url = new URL(getDocumentBase(), "input.txt"); this way that you do not need to be concerned about the correct directory name as long as the files are in the same directory. Date: Sun, 22 Nov 1998 15:44:41 -0500 (EST) From: Kenneth Been To: Basic Algorithms Class Subject: program output Basic Algorithms class: Some students are having a problem in that the output gets messed up when you scroll down in the browser. This problem should be solved by having the entire process of creating the heap, reading the file, etc., happen in (or be called from) the paint() method in the applet (as I recommended in recitation, and in a previous email, I think). Ken