g.drawImage(image, x, y, observer);
g.drawImage(tmpImage, x, y, observer);
        public void drawOnto(Graphics g, int x, int y, ImageObserver observer) {            if (isReady()) {                try {                    Graphics2D g2 = (Graphics2D) g;                    g2.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 0.5f));                    g2.drawImage(image, x, y, observer);                    g2.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 1.0f));                } catch (Throwable e) {                    g.drawImage(image, x, y, observer);                }            } else {                // grrr... well be ready next time!                prepare();            }        }