List of utility methods to do Image Wait
void | waitImage(Image i) wait Image MediaTracker mt = new MediaTracker(pStupid); mt.addImage(i, 1); try { mt.waitForAll(); } catch (InterruptedException e2) { |
void | waitImage(Image image) wait Image if (image == null) { return; if (image instanceof BufferedImage) { return; MediaTracker mediaTracker = null; try { ... |
void | wallPaper(Component comp, Graphics g, Image image) wall Paper Dimension compSize = comp.getSize(); waitForImage(comp, image); int patchW = image.getWidth(comp); int patchH = image.getHeight(comp); for (int i = 0; i < compSize.width; i += patchW) { for (int j = 0; j < compSize.height; j += patchH) { g.drawImage(image, i, j, comp); |