Exemplo n.º 1
0
 /** Loads the image. */
 public static void loadImage() {
   if (fileImage != null) return; // already loaded this
   AppLib.printDebug("Loading introduction image");
   ImageIcon fi = AppLib.loadClassImage("images/title.png");
   // wait for it...
   while (fi.getImageLoadStatus() == MediaTracker.LOADING) AppLib.sleep(20L);
   // load me!
   fileImage = fi.getImage();
   screenImage = screenShot(AppLib.winInfo.getScreenSize());
 }