On the bottom of the copyright page (facing the first page of the table of
contents), look for a line such as
First printing, April 2008
In the errata below, we indicate the printing in which the error has been
fixed inside square brackets such as [4].
For example, suppose you have the fourth printing. Then you can ignore all reports that are prefixed with [2], [3] or [4]. But you would want to pay attention to all reports that are prefixed with [5] or higher or that have no bracketed prefix at all.

float to doublecopyTo method” to “the
copyOf method”birthday to deadlineMyProg.java to MyProg (2x)cloned.hireDay = (Date) hireDay.clone()
javax.awt.Toolkit to
java.awt.Toolkit EventQueue.invokeLater(new Runnable()
{
public void run()
{
SimpleFrame frame = new SimpleFrame();
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setVisible(true);
}
});
Then add a line at the top of the file
import java.awt.*;
setLoationByPlatform(true);
to
setLocationByPlatform(true);
NotHelloWorldComponent comp = new NotHelloWorldComponent();
add(comp);
In line 45, change “panel” to “component”
Change line 47 to
class NotHelloWorldComponent extends JComponent
} below repaint(); that lines up with
the { below the if.Border etched =
BorderFactory.createEtchedBorder()appletviewer NotHelloAppletApplication.java java NotHelloAppletApplication
to
appletviewer AppletApplication.java java AppletApplication
try() to trysetColor(Color.yellow) to
setBackground(Color.yellow)String filename = (String) names.get(0);
to
String filename = (String) files.get(0);
setObject method” to
“you can call the setFirst method”null
reference.”PairAlg.swapHelper(result);
to
PairAlg.swap(result);
for (int i = 1; i <= 20 && iter.hasNext(); i++)
V get(K key)
to
V get(Object key)
Change "the panel is never repainted because the addBall method has
completely taken over all processing." to "the panel is only repainted
after the addBall method has returned."
Thread().currentThread().interrupt() to
Thread.currentThread().interrupt()
"<a\\s+href\\s*=\\s*(\"[^\"]*\"|[^\\s>])\\s*>"
to
"<a\\s+href\\s*=\\s*(\"[^\"]*\"|[^\\s>]*)\\s*>"
skewedAngle = Math.toDegrees(Math.atan2(x * width, y * height));
to
skewedAngle = Math.toDegrees(Math.atan2(-y * height, x * width));
Thanks to Yasir Bajwa, Chad Bamford, Fred Brasch, Lynn Robert Carter, Mark Chamberlin, Joseph Collins, Chris Colvard, Matthew Dempsky, Greg Drysdale, Douglas Eddy, Louis Fuka, Angelo Furfaro, Siegmar Gross, Richard Hall, David Hinkle, George Kollias, Ashok Kumar, David Lanznar, Larry LaPointe, James Lee, David Lyng, Jeremy Palmer, Diego Pérez, Łukasz Piwko, Boaz Porat, Philip Puryear, Dave Richards, Ken Rocha, Vickram Sawh, Zheng Song, Raj Subramanian, Viktor Toman, R. Wahl, Andrew Wan, Steven Zollo, Keoki Zee, and (your name might go here) for their bug reports!
If you have found another bug in the book or in our code that is not mentioned in this bug list or the Core Java FAQ , then please send a report. Please do not bug us with JDK problems, though. Unfortunately, we cannot reply personally to each report, but we do read all your comments.
Back to the Core Java page.