Multithreaded Graphics - Custom Training Courses - Coreservlets.com
Multithreaded Graphics - Custom Training Courses - Coreservlets.com
Multithreaded Graphics - Custom Training Courses - Coreservlets.com
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Timer Example: ResultEach Duke moves at a different speed41Duke is a registered trademark of Sun Microsystems, Inc.All restrictions apply (http://www.sun.<strong>com</strong>/policies/trademarks/).Used with permission.Summary• Options for fast-changing graphics– Redraw everything in paint– Have routines other than paint directly do drawingoperations– Override update and have paint do incremental updating– Double buffering• Animation can be achieved by cycling througha sequence of images– Usually in conjunction with double buffering42