by Joshua Marinacci and Chris Adamson
Copyright © 2005 O’Reilly Media, Inc. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North,
Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online
editions are also available for most titles (safari.oreilly.com). For more information, contact our
corporate/institutional sales department: (800) 998-9938 or firstname.lastname@example.org.
Editor: Brett McLaughlin
Executive Editor: Dale Dougherty
Production Editor: Marlowe Shaeffer
Interior Designer: David Futato
June 2005: First Edition.
Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks
of O’Reilly Media, Inc. The Hacks series designations, Swing Hacks, the image of a reflex mallet,
and related trade dress are trademarks of O’Reilly Media, Inc.
and all Java-based trademarks and logos are trademarks or registered trademarks of Sun
Microsystems, Inc., in the United States and other countries. O’Reilly Media, Inc. is independent
of Sun Microsystems, Inc.
Many of the designations used by manufacturers and sellers to distinguish their products are
claimed as trademarks. Where those designations appear in this book, and O’Reilly Media, Inc. was
aware of a trademark claim, the designations have been printed in caps or initial caps.
While every precaution has been taken in the preparation of this book, the publisher and authors
assume no responsibility for errors or omissions, or for damages resulting from the use of the
information contained herein.
Small print: The technologies discussed in this publication, the limitations on these technologies
that technology and content owners seek to impose, and the laws actually limiting the use of these
technologies are constantly changing. Thus, some of the hacks described in this publication may
not work, may cause unintended harm to systems on which they are used, or may not be consistent
with applicable user agreements. Your use of these hacks is at your own risk, and O’Reilly Media,
Inc. disclaims responsibility for any damage or expense resulting from their use. In any event, you
should take care that your use of these hacks does not violate any applicable laws, including
This book uses RepKover
, a durable and flexible lay-flat binding.
ISBN-13: 978-0-596-00907-6 [4/07]