boolean (Image img, int x, int y, ImageObserver observer) { if(img == null) { log(String.format("drawImage(Image(null), %d, %d, ImageObserver)", x, y)); } else { log(String.format("drawImage(Image(%d,%d), %d, %d, ImageObserver)", img.getWidth(null), img.getHeight(null), x, y)); } return myPeer.drawImage(img, x, y, observer); }