About Deitel & Associates, Inc.
Opportunities for Contract Trainers
Deitel Gear at CafePress.com
Course Catalog and Pricing
C Programming Curriculum Overview
CPlusPlus Programming Curriculum Overview
Java Programming Curriculum Overview
Internet & Web Programming Curriculum Overview
iOS 6 App Development
Visual Basic Programming Curriculum Overview
Visual C# Programming Curriculum Overview
Visual C++ Programming Curriculum Overview
Self-Paced Training (DVD/Online)
LiveLessons Video-Based Training
Swift for Programmers
Swift and iOS 8 Academic Bundle
Android 6 for Programmers: An App-Driven Approach
Android How to Program, 3/e
Android for Programmers, 2/e
Android How to Program, 2/e
Android for Programmers
Android How to Program
C How to Program, 8/e
C How to Program, 7/e
C for Programmers with an Introduction to C11
C How to Program, 6/e
C How to Program, 5/e
C How to Program, 4/e
C++ How to Program, 10/e
C++ How to Program, 9/e
C++11 for Programmers, 2/e
C++ for Programmers
C++ How to Program, 8/e, Early Objects Version
C++ How to Program, 7/e
C++ How to Program, Late Objects Version, 7/e
C++ How to Program, 6/e
Visual C++ 2008 How to Program, Second Edition
Small C++ How to Program, 5/e
Simply C++, 1/e
C++ How to Program, 5/e
C++ How to Program, 4/e
The Complete C++ Training Course, 4/e
C++ In the Lab, 4/e
C++ How to Program, 3/e
The Complete C++ Training Course, 3/e
C++ In the Lab, 3/e
C++ How to Program, 2/e
The Complete C++ Training Course, 2/e
Visual C++ .NET A Managed Code Approach, 1/e
Getting Started with Visual C++ 6, 1/e
Visual C++ .NET How to Program, 1/e
Visual C# How to Program, 6/e
C# 6 for Programmers, Sixth Edition
Visual C# 2012 How to Program
C# 2012 for Programmers
Visual C# 2010 How to Program
C# 2010 for Programmers, 4/e
Visual C# 2008 How to Program, 3/e
C# 2008 for Programmers, 3/e
Visual C# 2005 How to Program, 2/e
C# For Programmers, 2/e
Simply C#, 1/e
Internet & World Wide Web How to Program, 5/e
Internet & World Wide Web How to Program, 4/e
Ajax, RIAs and Web Development for Programmers
Internet & World Wide Web How to Program, 3/e
Perl How to Program, 1/e
Python How to Program, 1/e
Web Services A Technical Introduction, 1/e
Internet & World Wide Web How to Program, 2/e
Internet & World Wide Web How to Program, 1/e
Wireless Internet & Mobile Business Training, 1/e
e-Business & e-Commerce Training Course, 1/e
Wireless Internet & Mobile Business How to Program
e-Business & e-Commerce How to Program, 1/e
e-Business & e-Commerce for Managers, 1/e
iOS 8 for Programmers
Dive Into iOS 6: An App-Driven Approach
iPhone for Programmers: An-App Driven Approach
Java How to Program, 10/e (Early Objects)
REVEL for Deitel Java
Java How to Program, 11/e
Java How to Program, 10/e, Late Objects Version
Java SE 8 for Programmers, 3/e
Java How to Program, 9/e, Early Objects Version
Java for Programmers, 2/e
Java How to Program, 8/e, Early Objects Version
Java How to Program, 8/e, Late Objects Version
Java for Programmers
Java How to Program, 7/e
Java How to Program, 6/e
Simply Java Programming, 1/e
Small Java How to Program, 6/e
Operating Systems, 3/e
Visual Basic 2010 How to Program
Visual Basic 2012 How to Program
Simply Visual Basic 2010
Visual Basic 2008 How to Program
Simply Visual Basic 2008, 3/e
CourseSmart Online Books for College Courses
Web 2 eBook
Dive Into Web 2.0 eBook Overview
Objectives and Outline
What Is Web 2.0
Rich Internet Applications (RIA)
Web Services, Mashups, Widgets, Gadgets
XML, RSS, Atom, JSON and VoIP
Web 2.0 Monetization Models
Web 2.0 Business Models
Future of the Web
Where to Go for More Web 2.0 Information
Web 2.0 Bibliography
Web 2.0 Glossary
About Internet & World Wide Web How to Program
How to Program vs. for Programmers Books
Subscribe to the Deitel Buzz Online Newsletter
Free tutorials and articles
| Books >> Java >> Past Editions >> Java How to Program, 3/e >> Errata: Java How to Program, 3/e
|Errata: Java How to Program, 3/e|
We wish to thank our many readers who took the time to email us with errata. If you find errata not listed on this page, please email us at email@example.com. Remember to include the book title and edition.
- p.38, Software Engineering Observation 2.1, last line: "indentifier" should be "identifier"
- p. 128, last paragraph: "which when divided by 6 should yield 79.4" should be changed to "which when divided by 10 should yield 79.4"
- p. 227 to 228: The last sentence on the page (which continues on p. 228) reads, "We have used JTextFields and JButtons in prior examples." This is an incorrect statement. This is the first example that introduces these concepts.
- p. 274, 3rd paragraph, 1st line: Array s should be array n.
- p. 330, fifth paragraph: In the sentence "An important difference between constructors and other methods is that constructors are not allowed to specify a return data type (not event void)" the word "event" in the parentheses should be "even."
- p. 355, first paragraph below Fig. 8.6: increment should be INCREMENT.
- p. 374, 7th bullet in Summary: The last "the" should be deleted.
- p. 379, Self-Review Exercise 8.1: The sub-lettering should start at a not d.
- P. 392, Fig. 9.4, Line 75: File name should be InheritanceTest.java.
- P. 394, 4th paragraph: Where it says "... super( a, b )... explicitly invokes the Point constructor (defined at line 11) ..." Line 11 should be line 15.
- P.596, after the first code snippet, 4th line. "that in all methods an interface must be implemented" should be "that all methods in an interface must be implemented"
- P.666, add a new statement between lines 37 and 38
In Java 2, version 1.3, the internal frame will not display without this line. It did work as shown in the book in version 1.2.
- P.762, Line 110: replace notify() with notifyAll(). Otherwise, suspended threads will not necessarily resume correctly.
- Figure 17.14 has a number of problems (some our fault and some as a result of bug fixes in the Java API that, in turn, broke parts of this program). First, between line 105 and 106, add
mainDialog.setVisible( true );
to cause the dialog to display.
Second, between lines 321 and 322, add
record.setAccount( accountNumber );
record.setFirstName(values[ BankUI.FIRST ] );
record.setLastName(values[ BankUI.LAST ] );
record.setBalance(Double.parseDouble( values[ BankUI.BALANCE ] ) );
Without the preceding lines, the update functionality does not update the record.
Finally, the program assumes that the user opens a file when they first click the New/Open File option. When returning from this dialog, the buttons for update record, delete record and new record are enabled even if the user does not open a file. If you attempt to use these capabilities, they will fail because there is no file open to manipulate. To fix this, we will need to change the method openFile to return a boolean indicating if the file was opened or not. Then, lines 72 through 91 must be adjusted to disable the Open button and enable the other buttons only if a file is opened. If a file is not opened, all the buttons should be left in their original states.
Login or Register to download this book's code examples and other premium content.
|Update :: January 21, 2017