... ColorModel model, byte pixels[],int offset, int scansize)public void setPixels (int x, int y, int width, int height, ColorModel model, int pixels[],int offset, int scansize)The setPixels() method ... {paint (g);}public synchronized boolean imageUpdate (Image image, int infoFlags,int x, int y, int width, int height) {if ((infoFlags & ImageObserver.ALLBITS) != 0) {loaded = true;repaint();return ... the init() method callsgetImage() to request image loading at some time in the future. Instead of waitingfor drawImage() to trigger the loading process, init() forces loading to start bycalling...