When installing Java from our CD, copy the file from the CD to your hard drive before running it.
Failing to do this gives an 'out of space' error.
In the book, we supply v1.4 of the Java system. If you use our programs with
1.5, you get a warning about the deprecation of a show method, in the main method.
The program still runs of course, but you might choose to replace show with setVisible, as in:
demo.show(); //1.4
demo.setVisible(true); //1.5
p284 - example of indexOf. The code should read:
if (string1.indexOf(string2, 0) >= 0)
p288 - the while instruction should read:
while (place >= startSearch){
|