Java Swing, 2nd Edition by David Wood, James Elliott, Marc Loy, Robert Eckstein, Brian Cole The following errata were *corrected* in the 5/04 reprint: Here's a key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language/formatting problem (page-number): language change or minor formatting problem {28} Code Listing - ToolbarFrame4.java; NOW READS: ToolbarFrame3.java public class ToolbarFrame4 extends Frame { NOW READS: public class ToolbarFrame3 extends Frame { public ToolbarFrame4() { NOW READS: public ToolbarFrame3() { {29} bottom of the page public static void main(String args[]) { ToolbarFrame4 tf4 = new ToolbarFrame4(); tf4.setVisible(true); NOW READS: public static void main(String args[]) { ToolbarFrame3 tf3 = new ToolbarFrame3(); tf3.setVisible(true); (39) Code fragment, PageFrame.java; The comment associated with this source code segment: // PageFrame.java // A simple extension of the JInternalFrame class that contains a list // object. Elements of the list represent HTML pages for a web site. // NOW READS: // PageFrame.java // A simple extension of the JInternalFrame class that contains a textarea // and a local menu to save changes to simple HTML text. (43) Table 3-2; At the bottom of the table: See also java.awt.ActionListener NOW READS: See also java.awt.event.ActionListener {50} 1st par., GuiScreens.java code listing; The following line: frame[j][i].setDefaultCloseOperation( WindowConstants.EXIT_ON_CLOSE ); HAS BEEN ADDED just prior to the line in the existing code: frame[j][i].setVisible(true); (52) par. 3 - The ChangeListener Interface; This paragraph made reference to a com.sun.java.swing.event.ChangeListener interface. This HAS BEEN CHANGED to javax.swing.event.ChangeListener. {56} first two lines; JApplet HAS BEEN REMOVED from this particular list of top-level containers. {368} Figure 12-3; Figure 12-3 : "JFileChooser in the Windows, Motif, and Mac L&F" NOW READS: "JFileChooser in the Metal, Motif and Mac look and feels" (448) below Table 14-4; Below table 14-4 is a reference to the properties table of the AbstractButton class. The reference below Table 14-4 NOW POINTS TO Table 5-5, not Table 5-4. [465] IN PRINT" public void 486addSeparator() NOW READS: public void addSeparator() {512} 2nd paragraph, 1st sentence; ,,The TableModel interface has one other interface, shown here with its implementation:B4B4 NOW READS: ,,The AbstractTableModel class has one other useful method:B4B4 {792} 13 lines from the bottom: styleBox.getStyleName().length() > 0) { NOW READS: styleBox.getStyleName() != null) { {797} 14th line in code: The word "swing2IX.fm" HAS BEEN DELETED and and the rest of the line HAS BEEN SHIFTED left to line up with the one above it.