Hey I'm trying to import a walk sequence of photos to make animation. when I compile I get no syntax errors but it says it cant find the pictures. I did not change the default destination and i dont know what to do? thanks
this is what the terminal window says java.lang.IllegalArgumentException: java.io.FileNotFoundException: Could not find file: run10r.jar
at greenfoot.GreenfootImage.loadFile(GreenfootImage.java:293)
at greenfoot.GreenfootImage.<init>(GreenfootImage.java:109)
at Player.<init>(Player.java:17)
at background.prepare(background.java:36)
at background.<init>(background.java:21)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at greenfoot.core.Simulation.newInstance(Simulation.java:581)
at greenfoot.platforms.ide.WorldHandlerDelegateIDE$3.run(WorldHandlerDelegateIDE.java:409)
at greenfoot.core.Simulation.runQueuedTasks(Simulation.java:468)
at greenfoot.core.Simulation.maybePause(Simulation.java:281)
at greenfoot.core.Simulation.runContent(Simulation.java:212)
at greenfoot.core.Simulation.run(Simulation.java:205)
Caused by: java.io.FileNotFoundException: Could not find file: run10r.jar
at greenfoot.util.GreenfootUtil.getURL(GreenfootUtil.java:537)
at greenfoot.GreenfootImage.loadFile(GreenfootImage.java:290)
... 14 more
java.lang.IllegalArgumentException: java.io.FileNotFoundException: Could not find file: run10r.png
at greenfoot.GreenfootImage.loadFile(GreenfootImage.java:293)
at greenfoot.GreenfootImage.<init>(GreenfootImage.java:109)
at Player.<init>(Player.java:17)
at background.prepare(background.java:36)
at background.<init>(background.java:21)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at greenfoot.core.Simulation.newInstance(Simulation.java:581)
at greenfoot.platforms.ide.WorldHandlerDelegateIDE$3.run(WorldHandlerDelegateIDE.java:409)
at greenfoot.core.Simulation.runQueuedTasks(Simulation.java:468)
at greenfoot.core.Simulation.maybePause(Simulation.java:281)
at greenfoot.core.Simulation.runContent(Simulation.java:212)
at greenfoot.core.Simulation.run(Simulation.java:205)
Caused by: java.io.FileNotFoundException: Could not find file: run10r.png
at greenfoot.util.GreenfootUtil.getURL(GreenfootUtil.java:537)
at greenfoot.GreenfootImage.loadFile(GreenfootImage.java:290)
... 14 more
If you right click on a class and choose "Set image..." it'll open up a window as you probably know. Under "Scenario images:" you should be able to find "run10r.png", if not you should import the image using the button "Import from file...". Please tell me about the results.