question: private void drawBetterImage ( Graphics g , int yLoc ) { int xLoc = 100 ; int delta = ( int ) ( SCALE_FACTOR * FULL_SIZE ) ; for ( int scaledSize = FULL_SIZE ; scaledSize > 0 ; scaledSize -= delta ) { Image scaledImage = getOptimalScalingImage ( originalImage , FULL_SIZE , scaledSize ) ; g . drawImage ( scaledImage , xLoc , yLoc + ( FULL_SIZE - scaledSize ) / 2 , null ) ; xLoc += scaledSize + 20 ; } }
target:  Progressive Bilinear approach: this method gets each scaled version from the getOptimalScalingImage method and copies it into place.