(3) Image Handling
BufferedImage :
- For animation (double buffering),
- For optimising internal representation.
Using BufferedImage :
- instantiate :
- new BufferedImage(width,height,type))
- use :
- getGraphics() to obtain a Graphics,
- or createGraphics() to obtain a Graphics2D.
- You could also ask DeviceConfguration for the optimal type using createCombatibleImage().