I keep getting this error when I use the following code:
try { image=ImageIO.read(getClass().getResourceAsStream(\"build/classes/javaproject/Space.gif\
The promblom is that its A system file so you got too do this:
ClassLoader.getSystemResourceAsStream