Java Foundation Classes (Swing)

Thank you for accessing the Programming with JFC online resources, and thank you for purchasing the book

We have created this site to provide errata, updated examples and news relevent to the book. If you have any suggestions, please email us at jfc at sasbury.com so that I can update the site.

Errata

  • Page 110, line 7 and page 115, line 13 return curItem; should be return retVal;. This error is fixed in the Java 2 version of the examples.
  • There is a problem with the TouchScreen object's updateUI method in some versions of the JDK. This error is fixed in the Java 2 version of the examples.
  • There is a classic typo in the JDBCTableModel from chapter 12 where the break statements are left out of a switch statement. These errors are fixed in the Java 2 version of the examples.
  • A number of errors in method names have been reported. These mainly occur in tables where the first letter of a word is capitalized and shouldn't be. In particular, there are a number of occurences of Public that should be public.

Updated Examples

An updated version of the examples is available here

Several small examples for Java 2D are also available: browse/download.