Errata


Print Print Icon

Submit your own errata for this product.


The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.


Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question



Version Location Description Submitted By Corrected
Printed Page 40
Second paragraph

The end of the second paragraph reads "The particular Graphics object we are
passed in the paintComponent() method..."

Should read "The particular Graphics object we are passing in the
paintComponent() method..."

Anonymous 
Printed Page 116-121
A float variable or data member requires a floating point value,

or something that may be promoted to a float, such as an int. In Java, a
literal floating-point value, such as 1.0, is actually stored as a
double, not a float, and can not be implicitly converted to a float.
For example, the following declaration will not compile:

float length = 1.0;

However, the following will compile, using an appending 'f' to convert
1.0 to a float:

float length = 1.0f;

There are 10 errors of this type.

Anonymous 
Printed Page 179
5th paragraph, last sentence

"We can create these objects using the Class object"

Pls put a period at the end of sentence.

Anonymous 
Printed Page 293
Third paragraph, start of 5th line

"server server" type for "server"

Anonymous 
Printed Page 295
3rd paragraph

"Working with mutlicast sockets is very much like working with datagram
sockets"

Or multicast sockets.

Anonymous 
Printed Page 391
Third paragraph

"At the other extreme, we can forsake Java's strong typing and use the
reflection API to create a completely dynamic hookup between an event source
It'sand its listener."

There's an extra "It's" in the third word from the end.

Anonymous 
Printed Page 404
Code, mid way down, following blank line

"// put the controls the content pane"

Should be:

"// put the controls in the content pane"

Anonymous 
Printed Page 429
First paragraph

"This examples shows a frame window with a single button."

"examples" should be singular.

Anonymous 
Printed Page 448
2nd paragraph

"For a very little typing...."

should be:

"For very little typing...."

Anonymous 
Printed Page 461
Fourth paragraph, line 1

"Often you wont event need to worry..."

Should read:

"Often you won't even need to worry..."

Anonymous 
Printed Page 478
Fourth paragraph

Controls whether the component expands to fill the space alloted to it.

int gridheight, gridwidth
Controls the number of rows or columns the component spans.

int anchor
Controls the position of the component if there is extra room within the
space alloted to it.

Pls change 'alloted' to 'allotted', 2x.

Anonymous 
Printed Page 485
Several lines from the bottom

"...effective overall weight for
each for each row and each column..."

Should read:

"...effective overall weight for
each row and each column..."

515) Last line from the bottom:

"won't even ... until we try to try to display ..."

Should read:

"won't even ... until we try to display ..."

Anonymous