can any one tell me what is the third input in the getScaledInstance(); there is the code:
Image newImg = img.getScaledInstance(400, 400, Image.SCALE_AREA_AVE