Ursprungsmitteilung
Thema solution  
Autor sangeeta menon 
Eingangsdatum 2015-08-11 11:47:18.0 
Mitteilung i get this error when i run nxt sim program in java editor version12.61
error while load sprites image
sprites/ box.gif
Application will terminate 
 
      
Antworten
Thema Problem while loading images 
Autor Aegidius Pluess 
Eingangsdatum 2015-08-14 16:53:10.0 
Mitteilung Hello,

You need to copy the sprites images in the sprites subdirectory of your project root. If you use RobotSim, download the JGameGrid distribution and follow installation hints in the readme.txt (in subfolder robotsim). It says:

Installation
------------

1. Download the latest version of the JGameGrid framework.
Unpack the ZIP archive in any folder.

2. Within your favorite IDE add JGameGrid.jar and RobotSim.jar to the
external libraries of your Java project.

3. Copy the sprite images from the examples/src/sprites subdirectory to
a sprites subfolder of your project source.

4. Try to compile and run some of the examples.

5. Consult the JavaDoc by opening index.html in the doc subdirectory.


I hope this helps.

Best regards.