code: protected void loadImage(Image image) {
          MediaTracker mTracker = getTracker();
          synchronized(mTracker) {
              int id = getNextID();
  
              mTracker.addImage(image, id);
          try {
                  mTracker.waitForID(id, 0);
          } catch (InterruptedException e) {
          System.out.println("INTERRUPTED while loading Image");
          }
              //?int loadStatus = mTracker.statusID(id, false);
              mTracker.removeImage(image, id);
      }
      }
docs: Loads the image, returning only when the image is loaded.
  Note: This USUSALLY is a bad idea (to hang this thread until the image loads),
  but in this case, images are ONLY loaded here when they are initially set which
  is when they are selected by the user.
  @param image the image