Errata
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 "Date 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 Note Update
Version | Location | Description | Submitted By | Date submitted | Date corrected |
---|---|---|---|---|---|
Printed | Page xxiii paragraph 3: Replace with |
One significant problem we've faced is Sun's waffling on the Swing |
Anonymous | Dec 01, 1998 | |
Printed | Page xxiii add this footnote at the end of the 3rd paragraph, after |
all the other changes: |
Anonymous | Dec 01, 1998 | |
Printed | Page xxiv para 2 (description for com.sun.java.swing.plaf--which, |
according to the new rules, will become javax.swing.plaf): |
Anonymous | Dec 01, 1998 | |
Printed | Page xxiv About the Source Code: Add at the end of the section |
"The examples are available as a JAR file, a ZIP archive, and as a |
Anonymous | Dec 01, 1998 | |
Printed | Page 6 In the note, the last phrase should be "parts of which only work |
on the Windows platform." |
Anonymous | Dec 01, 1998 | |
Printed | Page 7 para. 2 add "several" to read "Swing is capable of emulating |
several look-and-feels, ..." |
Anonymous | Dec 01, 1998 | |
Printed | Page 11 paragraph describing com.sun.java.accessibility (which will |
become javax.accessibility): Delete sentence beginning "In addition, |
Anonymous | Dec 01, 1998 | |
Printed | Page 11 Delete sentence "The package names may change to javax.swing |
in the future." |
Anonymous | Dec 01, 1998 | |
Printed | Page 11 modify footnote: replace "and now has...the actual release" |
with "and is using the javax.swing hierarchy for the actual release of |
Anonymous | Dec 01, 1998 | |
Printed | Page 12 last sentence under javax.swing.plaf: Modify the sentence to |
read: "Concrete implementations of the windows and motif L&Fs are in |
Anonymous | Dec 01, 1998 | |
Printed | Page 12 para. 4 (description of com.sun.java.swing.plaf): Add to the |
end: "(Concrete implementations of the Windows and Motif L&Fs are in |
Anonymous | Dec 01, 1998 | |
Printed | Page 12 para. 5 (description of com.sun.java.swing.preview): Delete. |
Anonymous | Dec 01, 1998 | ||
Printed | Page 19 para. 3, "To see why, romember...": "romember" changed to "remember" |
Anonymous | Dec 01, 1998 | ||
Printed | Page 20 before "after downloading" add: "Assuming you're using JDK |
1.1..." |
Anonymous | Dec 01, 1998 | |
Printed | Page 35 In the code example, |
JLayeredPane desktop; |
Anonymous | ||
Printed | Page 40 in the code: indent line 10 ("implements...") two spaces. |
Anonymous | Dec 01, 1998 | ||
Printed | Page 58 |
Table 3-5: The default value for the "visible" property now reads : |
Anonymous | May 01, 1999 | |
Printed | Page 92 In the code, "c.add(la^bel2);" was changed to "c.add(label2);" |
Anonymous | May 01, 1999 | ||
Printed | Page 95 Last paragraph, first sentence |
"imageHeight and imageWidth" |
Anonymous | Jan 01, 1999 | |
Printed | Page 151, 152 Replaced the line starting with the final for() loop with the |
following code: |
Anonymous | May 01, 1999 | |
Printed | Page 169 model = new DefaultListModel () |
list = new JList (); |
Anonymous | Dec 01, 1998 | |
Printed | Page 188 The final JList constructor should be |
|
Anonymous | ||
Printed | Page 236 |
2.1 now reads: |
Anonymous | May 01, 1999 | |
Printed | Page 247 end of the first paragraph, add a footnote: |
"The appearance of an internal frame in the Metal look-and-feel has |
Anonymous | Dec 01, 1998 | |
Printed | Page 313 In the sentence that begins "The validateRoot property is |
always true to ensure that revalidation...", |
Anonymous | ||
Printed | Page 317 Under the getScrollableUnitIncrement description: "The unit |
increment specifies how to display the next logical row or |
Anonymous | ||
Printed | Page 437 |
Under The MenuDragMouseListener Interface, it reads: |
Anonymous | ||
Printed | Page 480 The import statement in the example should be |
import javax.swing.*; |
Anonymous | ||
Printed | Page 496 First sentence under Table 15-6: "whic hcould" now reads"which could" |
Also, in the following sentence: "rande of rows" was changed to |
Anonymous | May 01, 1999 | |
Printed | Page 496 In the first line below the Properties table, "whic h" |
should be "which". |
Anonymous | ||
Printed | Page 501 In the last method described, almost at the bottom of the page |
"public setValueAt( Object balue," should be "value" |
Anonymous | ||
Printed | Page 510 The code |
// Now we must rebuild the headers array with the new column names |
Anonymous | Dec 01, 1998 | |
Printed | Page 515 Table 15-2, 3rd row, 3rd column: The word "netx" now reads "next" |
Anonymous | May 01, 1999 | ||
Printed | Page 515 Table 15-2, 5th row, 3rd column: The word "proesrve" now reads "preserve" |
Anonymous | May 01, 1999 | ||
Printed | Page 515 In the middle of the JTable Constants table, in the description of |
AUTO_RESIZE_NEXT_COLUMN ! end of first line "netx" should read "next" |
Anonymous | ||
Printed | Page 518 In the middle of the page, public Compinent should read Component |
Anonymous | |||
Printed | Page 526 Under the heading "Inner Classes," "bublic" should read "public" |
Anonymous | |||
Printed | Page 563 First code example: |
add(messageLabel, BorderLayout.SOUTH); |
Anonymous | ||
Printed | Page 686 |
It now reads: |
Anonymous | ||
Printed | Page 714 |
2nd to last paragraph; last sentence should read: |
Anonymous | Dec 01, 1998 | |
Printed | Page 722 bottom of Table 19-7: Delete dot before JTextComponent. |
Anonymous | Dec 01, 1998 | ||
Printed | Page 903 Within getViewAtPosition() method: use "entry" |
...contains the View's allocation on entry and is constrained |
Anonymous | ||
Printed | Page 943 add footnote after "HTML package has stabalized." |
|
Anonymous | Dec 01, 1998 | |
Printed | Page 995 Put the "u" in "updateWindow(comp);" under the "t" in "timer". |
Anonymous | Dec 01, 1998 | ||
Printed | Page 1004 1st sentence: Add footnote after "package": |
"Note that the Windows and Motif look-and-feels remain in the |
Anonymous | Dec 01, 1998 | |
Printed | Page 1014 code, line 4: indent this line so that the "c" in com.sun |
is under the "M" in UIManager. (Note that in this case, |
Anonymous | Dec 01, 1998 | |
Printed | Page 1017 para. 1: eliminate "beta 4" from the directory names; i.e., |
"/usr/local/jdk1.2/" and "/usr/local/jdk1.2/jre/lib/swing.properties". |
Anonymous | Dec 01, 1998 | |
Printed | Page 1080 Table 27-6: Add a line under the table header. |
Anonymous | Dec 01, 1998 | ||
Printed | Page 1100 Bottommost source code excerpt, 5th line of code should be |
if (list[index]==ChangeListener.class) { |
Anonymous | Dec 01, 1998 | |
Printed | Page 1119 |
In the section heading Managing Focus, the 3rd sentence used to read: |
Anonymous | May 01, 1999 | |
Printed | Page 1136 End of first paragraph - the closing parenthesis was deleted. |
Anonymous | Dec 01, 1998 |