|
The following errors exist in the first printing of
The JFC Swing Tutorial, Second Edition.
We plan to fix them in the next printing.
-
On page 18 in Chapter 2, Learning Swing by Example,
the code sample has the following line:
JPanel panel = new JPanel(new GridLayout 0,1);
It should be this (note the parentheses):
JPanel panel = new JPanel(new GridLayout(0,1));
The
online version
has been corrected.
-
On page 84 in Chapter 3, Using Swing Components,
exercise 1 refers to an image "shown in Question 1".
However, there is no such image.
The
online version
has been corrected.
-
On the same page, exercise 2 says "(The menu bar can be empty.)"
We've removed that sentence from the online version
because an empty menu bar can be too hard to see.
If you have comments on The JFC Swing Tutorial Second
Edition, including errors or omissions in the book or CD-ROM,
please let
us know.
index
| TOC | CD-ROM
| Errata |