Ejemplo 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());
 }
Ejemplo n.º 2
0
 /**
  * Gets the not loading icon.
  *
  * @return the not loading icon. Loads it if necessary.
  */
 public static Icon getNotLoadingImage() {
   if (notLoading == null) notLoading = AppLib.loadClassImage("images/nloading.gif");
   return notLoading;
 }
Ejemplo n.º 3
0
 /**
  * Gets the loading icon.
  *
  * @return the loading icon. Loads it if necessary.
  */
 public static Icon getLoadingImage() {
   if (loading == null) loading = AppLib.loadClassImage("images/loading.gif");
   return loading;
 }