Owl Sams Teach Yourself Java 2 in 21 Days Professional Reference Edition

Book CoverWelcome to the official site for Sams Teach Yourself Java 2 in 21 Days Professional Reference Edition  by Laura Lemay and Rogers Cadenhead. The following options are available:

The links below enable you to get the source code and resource files associated with each chapter. You also can find the most current corrections and answers to reader questions about that material. Be sure to check it out when you have questions -- the answer may already be there.

Use these links for information related to a specific day in the book:

01

02

03

04

05

06

07

08

09

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

Most recent additions to this site:

  • The online tutorial Using the Java Development Kit on a Windows System has been updated to cover Windows 2000, NT, and XP in addition to other Windows systems (July 27, 2002)

  • A new Day 4 answer to a reader question about the loss of precision when casting integers to floating-point values. (Aug. 3, 2000)

  • A new Day 13 tutorial, Handling Mouse Clicks, on using Java 2 techniques to handle mouse events in the Spots and Lines applets. (July 23, 2000)

  • A Day 17 correction to a page introducing output streams (March 23, 2000)

  • A Day 2 correction to how the Jabberwock application is described (March 16, 2000)

  • A Day 20 correction to the SwingColorTest applet (March 16, 2000)

  • When to use getCodeBase() and getDocumentBase() -- a Day 10 question (March 16, 2000)

  • How to select and deselect check boxes -- a reader's Day 11 question (July 15, 1999)

  • A Day 9 correction to how Java2D arcs are drawn, in the Map2D applet and elsewhere (July 15, 1999)

  • A Day 9 question about why Map2D and other applets won't run in Navigator or Internet Explorer (July 14, 1999)

  • A Day 4 question about the String methods length() and charAt() (May 22, 1999)