Java Utililty Methods Image Wait

List of utility methods to do Image Wait

Description

The list of methods to do Image Wait are organized into topic(s).

Method

voidwaitImage(Image i)
wait Image
MediaTracker mt = new MediaTracker(pStupid);
mt.addImage(i, 1);
try {
    mt.waitForAll();
} catch (InterruptedException e2) {
voidwaitImage(Image image)
wait Image
if (image == null) {
    return;
if (image instanceof BufferedImage) {
    return;
MediaTracker mediaTracker = null;
try {
...
voidwallPaper(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);