hey i like this topic... i used to encounter some publishing errors like for example,
when i was about to read a chapter in my book.. the chapter introduce something about JOPtionPane for input routines, but after i finish reading that chapter i never encountered anything about JoptionPane..
that particular chapter only discussed about Scanner class (but thankfully i know a bit something about JOPtionaPane class, learned from school).
and most of all i never used to code this one that the book use to define in every input routines
//assuming that the scanner is an object already created for the Scanner class
scanner.useDelimiter(System.getProperty("line.separator");
using this statement, i used to encounter some input or some logical - input errors, like skipping a part,
like duplicating an output, so i dont know exactly what this statement supposed to do with my input routines,..
anyway the book that im reading is an international edition of McGRAW-HILL
i would agree to what helloworld have said, you can see and learn a lot in sun java tutorials....