Throws Exception:
java.lang.IllegalArgumentException: java.io.FileNotFoundException: Could not find file: Cover//gun.png
at greenfoot.GreenfootImage.loadFile(GreenfootImage.java:293)
at greenfoot.GreenfootImage.<init>(GreenfootImage.java:109)
at Gun.<init>(Gun.java:9)
at Opening.<init>(Opening.java:21)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at greenfoot.export.GreenfootScenarioViewer.instantiateNewWorld(GreenfootScenarioViewer.java:323)
at greenfoot.export.GreenfootScenarioViewer.init(GreenfootScenarioViewer.java:226)
at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.init(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: Could not find file: Cover//gun.png
at greenfoot.util.GreenfootUtil.getURL(GreenfootUtil.java:537)
at greenfoot.GreenfootImage.loadFile(GreenfootImage.java:290)
... 12 more
2014/7/30