RicK Miller
Raffi Kasparian
Pulp Free Press
Falls Church, Virginia
Pulp Free Press, Falls Church, Virginia 22042 www.pulpfreepress.com info@pulpfreepress.com
© 2006 Richard Warren Miller, Raffi Kasparian, & Pulp Free Press—
All Rights Reserved
No part of this book may be reproduced in any form without prior written permission from the publisher.
First edition published 2006
6 14 12 10 08 06 10 9 8 7 6 5 4 3 2
Pulp Free Press offers discounts on this book when ordered in bulk quantities. For more information regarding sales contact sales@pulpfreepress.com.
The eBook/PDF edition of this book may be licensed for bulk distribution. For whole or partial content licensing information contact licensing@pulpfreepress.com.
Publisher Cataloging-in-Publication Data: Prepared by Pulp Free Press
Miller, Rick, 1961 - , Kasparian, Raffi, 1962
Java For Artists: The Art, Philosophy, and Science of Object-Oriented Programming/Rick Miller and Raffi Kasparian.
p. cm.
Includes bibliographical references and index.
ISBN-13: 978-1-9325-0405-7
ISBN-10: 1932504052 (pbk)
1. Java (computer program language) I. Raffi Kasparian II. Title.
2. Object-Oriented Programming (Computer Science)
QA76.73.J38M555 2006
005.13'3--dc21 Library of Congress Control Number: 2005902971
CIP
The source code provided in this book is intended for instructional purposes only. Although every possible measure was made by the authors to ensure the programming examples contain error-free source code, no warranty is offered, expressed, or implied regarding the quality of the code.
All product names mentioned in this book are trademark names of their respective owners.
Java For Artists was meticulously crafted on a Macintosh PowerMac G4 using Adobe FrameMaker, Adobe Illustra-tor, Macromedia Freehand, Adobe Photoshop, Adobe Acrobat, ObjectPlant, Microsoft Word, Maple, and Virtu-alPC. Photos were taken with a Nikon F3HP, a Nikon FM, and a Contax T3. Java source code examples were prepared using Apple’s OS X developer tools, vi, TextPad, Eclipse, and Sun’s Java 2 Standard Edition (J2SE ver-sions 1.4 and 1.5) command-line tool suite.
ISBN-10: 1-932504-03-6 First eBook/PDF Edition
ISBN-10: 1-932504-04-4 First CD ROM Edition
ISBN-10: 1-932504-05-2 First Paperback Edition
Dedication
Again — to Coralie and Kyle for their eternal patience.
Rick
To my lovely wife Joycelyn for her patience and support and especially for introducing me to Java way back when it was version 1.0.
Raffi