Mac OS X for Java Geeks by Will Iverson The unconfirmed error reports are from readers. They have not yet been approved or disproved by the author or editor and represent solely the opinion of the reader. Here's a key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language/formatting problem (page-number): language change or minor formatting problem ?page-number?: reader question or request for clarification This page was updated June 3, 2003. UNCONFIRMED errors and comments from readers: {45} middle; Either the import section for SimpleEdit class needs java.awt.Toolkit or, on page 53, private int preferredMetaKey = Toolkit.getDefaultToolkit()... needs the full java.awt.Toolkit.getDefaultToolkit()... (as you have done in initComponents()) Very minor point: getLabel (page 54) and setLabel (page 53) are deprecated in 1.4.1. They have been replaced by getText and setText. {101} Underneath Figure 7.1; I needed to insert a "space" character immediately after the ":" in the mainfest file example to make it work, i.e it needed to be: "Main-Class: com/wiverson/macosbook/SimpleEdit" Without the space inserted I got the following jar command error: java.io.IOException: invalid header field at java.util.jar.Attributes.read(Attributes.java:359) at java.util.jar.Manifest.read(Manifest.java:162) at java.util.jar.Manifest.(Manifest.java:52) at sun.tools.jar.Main.run(Main.java:124) at sun.tools.jar.Main.main(Main.java:904)