Filthy Rich Clients
The Java™ Series
Ken Arnold, James Gosling, David Holmes
The Java™ Programming Language, Fourth Edition
Joshua Bloch
Effective Java™ Programming Language Guide
Stephanie Bodoff, Dale Green, Kim Haase, Eric Jendrock
The J2EE™ Tutorial, Second Edition
Mary Campione, Kathy Walrath, Alison Huml
The Java™ Tutorial, Third Edition: A Short Course on
the Basics
Mary Campione, Kathy Walrath, Alison Huml, The
Tutorial Team
The Java™ Tutorial Continued: The Rest of the JDK™
Patrick Chan
The Java™ Developers Almanac 1.4, Volume 1
Patrick Chan
The Java™ Developers Almanac 1.4, Volume 2
Patrick Chan, Rosanna Lee
The Java™ Class Libraries, Second Edition, Volume 2:
java.applet, java.awt, java.beans
Patrick Chan, Rosanna Lee, Doug Kramer
The Java
™
Class Libraries, Second Edition, Volume 1:
Supplement for the Java™ 2 Platform, Standard Edition,
v1.2
Kirk Chen, Li Gong
Programming Open Service Gateways with Java™
Embedded Server
Zhiqun Chen
Java Card™ Technology for Smart Cards: Architecture
and Programmer’s Guide
Maydene Fisher, Jon Ellis, Jonathan Bruce
JDBC™ API Tutorial and Reference, Third Edition
Eric Freeman, Susanne Hupfer, Ken Arnold
JavaSpaces™ Principles, Patterns, and Practice
Li Gong, Gary Ellison, Mary Dageforde
Inside Java™ 2 Platform Security, Second Edition:
Architecture, API Design, and Implementation
James Gosling, Bill Joy, Guy Steele, Gilad Bracha
The Java™ Language Specification, Third Edition
Mark Hapner, Rich Burridge, Rahul Sharma, Joseph
Fialli, Kim Haase
Java™ Message Service API Tutorial and Reference:
Messaging for the J2EE™ Platform
Eric Jendrock, Jennifer Ball
The Java
™
EE 5 Tutorial, Third Edition
Jonni Kanerva
The Java™ FAQ
Doug Lea
Concurrent Programming in Java™, Second Edition:
Design Principles and Patterns
Rosanna Lee, Scott Seligman
JNDI API Tutorial and Reference: Building Directory-
Enabled Java™ Applications
Sheng Liang
The Java™ Native Interface: Programmer’s Guide and
Specification
Tim Lindholm, Frank Yellin
The Java™ Virtual Machine Specification, Second Edition
Roger Riggs, Antero Taivalsaari, Jim Van Peursem, Jyri
Huopaniemi, Mark Patel, Aleksi Uotila
Programming Wireless Devices with the Java™ 2
Platform, Micro Edition, Second Edition
Rahul Sharma, Beth Stearns, Tony Ng
J2EE™ Connector Architecture and Enterprise
Application Integration
Inderjeet Singh, Beth Stearns, Mark Johnson, Enterprise
Team
Designing Enterprise Applications with the J2EE™
Platform, Second Edition
Inderjeet Singh, Sean Brydon, Greg Murray, Vijay
Ramachandran, Thierry Violleau, Beth Stearns
Designing Web Services with the J2EE™ 1.4 Platform:
JAX-RPC, SOAP, and XML Technologies
Kathy Walrath, Mary Campione, Alison Huml, Sharon
Zakhour
The JFC Swing Tutorial, Second Edition: A Guide to
Constructing GUIs
Steve Wilson, Jeff Kesselman
Java™ Platform Performance: Strategies and Tactics
Sharon Zakhour, Scott Hommel, Jacob Royal,
Isaac Rabinovitch, Tom Risser, Mark Hoeber
The Java
™
Tutorial, Fourth Edition: A Short Course
on the Basics
Filthy Rich Clients
Developing Animated
and Graphical Effects for
Desktop Java
™
Applications
Chet Haase
Romain Guy
Upper Saddle River, NJ • Boston • Indianapolis • San Francisco
New York • Toronto • Montreal • London • Munich • Paris • Madrid
Capetown • Sydney • Tokyo • Singapore • Mexico City
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those desig-
nations appear in this book, and the publisher was aware of a trademark claim, the desig
nations have been printed with initial capital let-
ters or in all capitals.
Sun Microsystems, Inc. has intellectual property rights relating to implementations of the technology described in this publication. In
particular, and without limitation, these intellectual property rights may include one or more U.S. patents, foreign patents, or pending
applications.
Sun, Sun Microsystems, the Sun lo
go, J2ME, J2EE, Java Card, and all Sun and Java based trademarks and logos are trademarks or regis-
tered trademarks of Sun Microsystems, Inc., in the United States and other countries. UNIX is a registered trademark in the Unit
ed States
and other countries, exclusively licensed through X/Open Company, Ltd. THIS PUBLICATION IS PROVIDED “AS IS” WITHOUT
WA RRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WA R-
RANTIES OF MERCHANTA
BILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. THIS PUBLICA-
TION COULD INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS. CHANGES ARE PERIODICALLY
ADDED TO THE INFORMATION HEREIN; THESE CHANGES WILL BE INCORPORATED IN NEW EDITIONS OF THE
PUBLI-
CATION. SUN MICROSYSTEMS, INC. MAY MAKE IMPROVEMENTS AND/OR CHANGES IN THE PRODUCT(S) AND/OR
THE PROGRAM(S) DESCRIBED IN THIS PUBLICATION AT ANY TIME.
The authors and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and
assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or
arising out of the use of the information or programs contained
herein.
The publisher offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales, which may include
electronic versions and/or custom covers and content particular to your business, training goals, marketing focus, and branding inter-
ests. For more information, please contact: U.S. Corporate and Government Sales, (800) 382-3419, corpsales@pearsontechgroup.com.
For sales outside the United States please contact: International Sales, international@pearsoned.com.
Visit us on the Web: www.awprofessional.com
Library of Congress Cataloging-in-Publication Data
Haase, Chet.
Filthy rich clients : developing animated and graphical effects for
desktop Java applications / Chet Haase, Romain Guy.
p. cm.
Includes index.
ISBN 978-0-13-241393-0 (pbk. : alk. paper) 1. Object-oriented
programming (Computer science) 2. Java (Com
puter program language)I.
Guy, Romain. II. Title.
QA76.73.C153H33 2007
005.1'17—dc22 2007019818
Cover Illustration: Nathan Clement
Copyright © 2008 Sun Microsystems, Inc.
4150 Network Circle, Santa Clara, California 95054 U.S.A.
All rights reserved.
Printed in the United States of Ame
rica. This publication is protected by copyright, and permission must be obtained from the publisher
prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical
,
photocopying, recording, or likewise. For information regarding permissions, write to: Pearson Education, Inc., Rights and Contracts
Department, 75 Arlington Street, Suite 300, Boston, MA 02116, Fax: (617) 848-7047.
ISBN-13: 978-0-13-241393-0
ISBN-10: 0-13-241393-0
Text printed in the United Stat
es on recycled paper at Courier in Stoughton, Massachusetts.
First printing, August 2007
- 1
- 2
- 3
- 4
前往页