Color Wheel - Double Buffering
Previous    Next    Home    Source    Package

Double Buffering
  1. The image is drawn once - in the start method, before the applet appears - and is saved in an Image object. Then every call to paint results in painting the image object which is done quite efficiently.