You may want to try ; | URL fileURL = this.getClass().getResource("img\mypic.gif"); | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134479#4134479 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134479